oxygen/data
Oxygen's Data Layer
1,120
Larablocks Analysis
oxygen/data works with Laravel 12 (latest release 0.14.2, Nov 22, 2026).
Laravel 4, 5, 6, 10 and 11 in earlier releases.
Recommendation checks
Use with careUse with care: meets 1 of 4 checks.
- Latest release doesn't support Laravel 13, the current version
- Released in the last 12 months (Nov 22, 2026)
- 104 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Actively maintained- Last stable release: Nov 22, 2026.
- 5 releases in the last 12 months.
- First released: Dec 12, 2014.
- Monthly downloads: 104.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 30, 2026.
| Install | |
|---|---|
composer require oxygen/data |
|
| Latest Version: | 0.14.2 |
| PHP: | ^8.3 |
| Laravel: | 12 |
| Older releases: | 4 · 5 · 6 · 10 · 11 |
| License: | MIT |
| Last Updated: | Nov 22, 2026 |
| Links: | GitHub · Packagist |
Maintainer: neon64
Oxygen - Data
This repository contains the Oxygen Data Layer.
For more information visit the Core repository.
Requirements
- PHP 8.3+
- Laravel 12
- Doctrine ORM 3 (via
laravel-doctrine/orm^3.1)
Doctrine Wrapper
The data package is focused around the robust Doctrine ORM (v3). Entity mappings use PHP attributes.
Development
composer install
composer test # phpunit + phpstan
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)
Related Packages
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.14.2 | ^8.3 | ^12.0 | MIT | |
| 0.14.1 | ^8.3 | ^12.0 | MIT | |
| 0.14.0 | ^8.3 | ^12.0 | MIT | |
| 0.13.0 | ^8.3 | ^10.0| | MIT | |
| 0.12.1 | >=8.1.0 | ^10.0 | MIT | |
| 0.12.0 | >=8.1.0 | ^10.0 | MIT | |
| 0.11.9 | >=7.4.0 | ~6.0 | MIT | |
| 0.11.8 | >=7.4.0 | ~6.0 | MIT | |
| 0.11.7 | >=7.4.0 | ~6.0 | MIT | |
| 0.11.6 | >=7.4.0 | ~6.0 | MIT | |
| 0.11.5 | >=7.4.0 | ~6.0 | MIT | |
| 0.11.4 | >=7.4.0 | ~6.0 | MIT | |
| 0.11.3 | >=7.4.0 | ~6.0 | MIT | |
| 0.11.2 | >=7.4.0 | ~6.0 | MIT | |
| 0.11.1 | >=7.4.0 | ~6.0 | MIT | |
| 0.11.0 | >=7.4.0 | ~6.0 | MIT | |
| 0.10.0 | >=7.2.0 | ~6.0 | MIT | |
| 0.9.8 | >=7.2.0 | ~6.0 | MIT | |
| 0.9.7 | >=7.2.0 | ~6.0 | MIT | |
| 0.9.6 | >=7.2.0 | ~6.0 | MIT | |
| 0.9.5 | >=7.2.0 | ~6.0 | MIT | |
| 0.9.4 | >=7.2.0 | ~6.0 | MIT | |
| 0.9.3 | >=7.2.0 | ~6.0 | MIT | |
| 0.9.2 | >=7.2.0 | ~6.0 | MIT | |
| 0.9.1 | >=7.2.0 | ~6.0 | MIT | |
| 0.9 | >=7.2.0 | ~6.0 | MIT | |
| 0.8.3 | >=7.2.0 | ~6.0 | MIT | |
| 0.8.2 | >=5.4.0 | ~5.1 | MIT | |
| 0.8.1 | >=5.4.0 | ~5.1 | MIT | |
| 0.8.0 | >=5.4.0 | ~5.1 | MIT |
Showing the latest 30 of 58. See every release on Packagist