Search by

team-blue / php-json-immutable-objects

arnedesmedt

Immutable objects with a json schema

Package info

github.com/teamdotblue/php-json-immutable-objects

Homepage

pkg:composer/team-blue/php-json-immutable-objects

Statistics

Installs: 6

Dependents: 5

Suggesters: 0

Stars: 0

Open Issues: 0

1.5.0 2026-09-28 07:19 UTC

README

Immutable PHP objects with a JSON schema.

Provides ImmutableRecordLogic and JsonSchemaAwareRecordLogic traits to build immutable value records that convert to/from typed JSON, including support for polymorphism, encryption of sensitive properties, metadata extraction via attributes/docblocks, and a Symfony bundle (JsonImmutableObjectsBundle). Works together with team-blue/php-util and team-blue/php-value-objects.

Installation

composer require team-blue/php-json-immutable-objects

License

MIT — see LICENSE.

This repository is a public mirror; development happens internally on the team.blue GitLab.