oxygen / data
Oxygen's Data Layer
0.12.0
2024-04-01 05:53 UTC
Requires
- php: >=8.1.0
- laravel-doctrine/orm: ^2.0
- laravel/framework: ^10.0
- shapecode/doctrine-dbal-datetimeutc: ^3.0
- webmozart/assert: ^1.10
Requires (Dev)
- dev-master
- 0.12.0
- 0.11.9
- 0.11.8
- 0.11.7
- 0.11.6
- 0.11.5
- 0.11.4
- 0.11.3
- 0.11.2
- 0.11.1
- 0.11.0
- 0.10.0
- 0.9.8
- 0.9.7
- 0.9.6
- 0.9.5
- 0.9.4
- 0.9.3
- 0.9.2
- 0.9.1
- 0.9
- 0.8.3
- 0.8.2
- 0.8.1
- 0.8.0
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.10
- 0.6.9
- 0.6.8
- 0.6.7
- 0.6.6
- 0.6.5
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.1
- 0.5.0
- 0.4.1
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.0
- dev-laravel10
- dev-assert
- dev-stages
- dev-typed-params
- dev-strict
- dev-relax-id
- dev-created_by_updated_by
- dev-no-result-404
- dev-validation-cleanup
- dev-uniqueness-rule
- dev-fix-typo
- dev-stronger-typing
- dev-add-workflows-and-tests
This package is auto-updated.
Last update: 2024-10-31 00:23:17 UTC
README
This repository contains the Oxygen Data Layer.
For more information visit the Core repository.
Doctrine 2 Wrapper
The data
package is focused around the robust Doctrine 2 ORM.
Behaviours
Accessors
provides automaticgetXYZ
andsetXYZ
methods on entitiesAuthentication
provides an email, password and remember token.CacheInvalidator
adds acacheInvalidationSettings
field, where different entities can be registered. When$this
is updated, the eventoxygen.entity.cache.invalidated
will be fired for each of the entities insidecacheInvalidationSettings
.Fillable
adds thefromArray
method which can update entity fields from an input arrayPrimaryKey
adds a simple ID field with getters and setters.Publishes
adds astage
field, entities can be either a draft or publishedRememberToken
provides an email and remember token.SoftDeletes
adds thedeletedAt
field, calldelete()
on the entity to 'soft' delete it.Timestamps
addscreatedAt
andupdatedAt
fields that are automatically updatedVersions
adds versioning capabilities to the entity (warning: it requires two fields (versions
andheadVersion
) to be already present in the entity and set up with the correct relationship information)