PHPackages                             oxygen/data - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. oxygen/data

ActiveLibrary[Framework](/categories/framework)

oxygen/data
===========

Oxygen's Data Layer

0.12.1(2mo ago)19849MITPHPPHP &gt;=8.1.0CI passing

Since Dec 12Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/oxygen-cms/data)[ Packagist](https://packagist.org/packages/oxygen/data)[ RSS](/packages/oxygen-data/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (69)Used By (9)

Oxygen - Data
=============

[](#oxygen---data)

This repository contains the Oxygen Data Layer.

For more information visit the [Core](https://github.com/oxygen-cms/core) repository.

Doctrine 2 Wrapper
------------------

[](#doctrine-2-wrapper)

The `data` package is focused around the robust Doctrine 2 ORM.

Behaviours
----------

[](#behaviours)

- `Accessors` provides automatic `getXYZ` and `setXYZ` methods on entities
- `Authentication` provides an email, password and remember token.
- `CacheInvalidator` adds a `cacheInvalidationSettings` field, where different entities can be registered. When `$this` is updated, the event `oxygen.entity.cache.invalidated` will be fired for each of the entities inside `cacheInvalidationSettings`.
- `Fillable` adds the `fromArray` method which can update entity fields from an input array
- `PrimaryKey` adds a simple ID field with getters and setters.
- `Publishes` adds a `stage` field, entities can be either a *draft* or *published*
- `RememberToken` provides an email and remember token.
- `SoftDeletes` adds the `deletedAt` field, call `delete()` on the entity to 'soft' delete it.
- `Timestamps` adds `createdAt` and `updatedAt` fields that are automatically updated
- `Versions` adds versioning capabilities to the entity (**warning:** it requires two fields (`versions` and `headVersion`) to be already present in the entity and set up with the correct relationship information)

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance83

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 55.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~77 days

Recently: every ~303 days

Total

54

Last Release

85d ago

PHP version history (4 changes)0.1.0PHP &gt;=5.4.0

0.9PHP &gt;=7.2.0

0.11.0PHP &gt;=7.4.0

0.12.0PHP &gt;=8.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1056d39aaf690fb40f00c6f27e849447d468a102852fc8169bd2a7b7b5595963?d=identicon)[neon64](/maintainers/neon64)

---

Top Contributors

[![top-webmaster](https://avatars.githubusercontent.com/u/79674998?v=4)](https://github.com/top-webmaster "top-webmaster (64 commits)")[![neon64](https://avatars.githubusercontent.com/u/7961339?v=4)](https://github.com/neon64 "neon64 (51 commits)")

---

Tags

frameworkcmsoxygenExtension

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/oxygen-data/health.svg)

```
[![Health](https://phpackages.com/badges/oxygen-data/health.svg)](https://phpackages.com/packages/oxygen-data)
```

###  Alternatives

[orchid/platform

Platform for back-office applications, admin panel or CMS your Laravel app.

4.8k2.5M59](/packages/orchid-platform)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[kompo/kompo

Laravel &amp; Vue.js FullStack Components for Rapid Application Development

11812.4k21](/packages/kompo-kompo)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
