New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

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 care

Use 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

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

  • 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)

Related Packages

oxygen/core

The Core Framework For Oxygen

1,057 2
gzero/cms

Gzero CMS

3,993 6
atlantis-labs/atlantis3-framework

Atlantis CMS 3 framework

3,055
centagon/build-core

The core of the Build CMS.

289 1
doptor/doptor

A Laravel Based CMS

17 7

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|^11.0 MIT
0.12.1 >=8.1.0 ^10.0 MIT