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.
composer require team-blue/php-json-immutable-objectsMIT — see LICENSE.
This repository is a public mirror; development happens internally on the team.blue GitLab.