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

Maintainers

Package info

github.com/coolms/entity-module

pkg:composer/coolms/entity-module

Transparency log

Statistics

Installs: 10

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-08-18 11:06 UTC

This package is auto-updated.

Last update: 2026-08-18 11:43:16 UTC


README

CI Latest Version PHP License

Platform composition over coolms/entity: the pieces that need a persistence implementation without naming one.

  • Serializer\ExtrasFlatteningNormalizer -- lifts an entity's $extras bag onto the normalized top level and routes writes back into it, filtered by the instance-aware schema so a field scoped with appliesTo never leaks onto an instance it does not apply to. Types claimed through ExtrasNormalizationExclusionInterface are left alone.
  • TaggedRepositoryRegistry / Resolver\RepositoryEntityAliasResolver -- alias-to-repository lookup over the tagged repository set.
  • ReflectionFieldExtractor / Field\ReflectionEntityFieldDescriptor -- attribute-driven field description.
  • Widget\* -- entity:find and entity:findAll renderers for coolms/dtmpl.

Requires the virtual package coolms/entity-persistence-implementation, which coolms/entity-doctrine provides.

Installation

composer require coolms/entity-module