coolms / entity-module
Platform composition layer over coolms/entity: reflection field extraction, the tagged repository registry, the extras-flattening normalizer and the entity:find widget renderers
v1.0.0
2026-08-18 11:06 UTC
Requires
- php: ^8.5
- coolms/core: ^1.0
- coolms/dtmpl: ^1.0
- coolms/entity: ^1.0
- coolms/entity-persistence-implementation: ^1.0
- coolms/rql: ^1.0
- symfony/dependency-injection: ^8.0
- symfony/serializer: ^8.0
- symfony/uid: ^8.0
Requires (Dev)
- coolms/entity-doctrine: ^1.0
- phpunit/phpunit: ^12.5
This package is auto-updated.
Last update: 2026-08-18 11:43:16 UTC
README
Platform composition over coolms/entity:
the pieces that need a persistence implementation without naming one.
Serializer\ExtrasFlatteningNormalizer-- lifts an entity's$extrasbag onto the normalized top level and routes writes back into it, filtered by the instance-aware schema so a field scoped withappliesTonever leaks onto an instance it does not apply to. Types claimed throughExtrasNormalizationExclusionInterfaceare left alone.TaggedRepositoryRegistry/Resolver\RepositoryEntityAliasResolver-- alias-to-repository lookup over the tagged repository set.ReflectionFieldExtractor/Field\ReflectionEntityFieldDescriptor-- attribute-driven field description.Widget\*--entity:findandentity:findAllrenderers for coolms/dtmpl.
Requires the virtual package coolms/entity-persistence-implementation, which
coolms/entity-doctrine provides.
Installation
composer require coolms/entity-module