coolms / entity-bundle
Symfony integration for coolms/entity: the bundle and its extension, the extras infrastructure compiler passes, API Platform property metadata factories for dynamic fields, and the entity search endpoint
Requires
- php: ^8.5
- api-platform/core: ^4.2
- coolms/core: ^2.0
- coolms/core-bundle: ^2.0
- coolms/entity: ^2.0
- coolms/entity-module: ^2.0
- symfony/config: ^8.0
- symfony/dependency-injection: ^8.0
- symfony/framework-bundle: ^8.0
- symfony/http-foundation: ^8.0
- symfony/http-kernel: ^8.0
- symfony/routing: ^8.0
- symfony/security-http: ^8.0
- symfony/serializer: ^8.0
Requires (Dev)
- coolms/core-doctrine: ^2.0
- coolms/entity-doctrine: ^2.0
- phpunit/phpunit: ^12.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-04 08:30:24 UTC
README
Symfony integration for coolms/entity.
Register in config/bundles.php:
CoolMS\EntityBundle\EntityBundle::class => ['all' => true],
DependencyInjection\Extension-- wires the alias registry, the schema lookup, the extras infrastructure and the entity-factory locator, and declares theentity.extras_validationconfiguration.DependencyInjection\Compiler\ExtrasInfrastructurePass-- re-asserts that wiring after the application's own service scan, which loads later and would otherwise replace the definitions and silently drop decoration markers, scalar arguments and event-listener tags.ApiPlatform\Extras*Factory-- surfaces dynamic fields in API Platform property metadata so extras appear in the generated schema and OpenAPI document alongside static properties.Controller\EntitySearchController-- the cross-entity search endpoint.
Installation
composer require coolms/entity-bundle coolms/core-doctrine coolms/entity-doctrine
The adapter is part of the install, not a second step. This bundle pulls in
coolms/entity-module, which requires the virtualcoolms/entity-persistence-implementation. Only an adapter provides it, socomposer require coolms/entity-bundleon its own cannot resolve — Composer reports that the virtual package "could not be found in any version", which reads like a broken package rather than a missing argument.The hard failure is by design. The alternative is a platform that installs cleanly and then cannot persist anything.
coolms/entity-doctrineis the adapter that exists today; substitute another if you write one.