oxygen / data
Oxygen's Data Layer
Installs: 920
Dependents: 9
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/oxygen/data
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: 2025-09-29 01:37:31 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
Accessorsprovides automaticgetXYZandsetXYZmethods on entitiesAuthenticationprovides an email, password and remember token.CacheInvalidatoradds acacheInvalidationSettingsfield, where different entities can be registered. When$thisis updated, the eventoxygen.entity.cache.invalidatedwill be fired for each of the entities insidecacheInvalidationSettings.Fillableadds thefromArraymethod which can update entity fields from an input arrayPrimaryKeyadds a simple ID field with getters and setters.Publishesadds astagefield, entities can be either a draft or publishedRememberTokenprovides an email and remember token.SoftDeletesadds thedeletedAtfield, calldelete()on the entity to 'soft' delete it.TimestampsaddscreatedAtandupdatedAtfields that are automatically updatedVersionsadds versioning capabilities to the entity (warning: it requires two fields (versionsandheadVersion) to be already present in the entity and set up with the correct relationship information)