laravel-doctrine/fluent
Laravel Doctrine Fluent provides a fluent PHP mapping driver for Doctrine ORM entities, letting you configure entity mappings with a clean, expressive API instead of annotations, XML, or YAML files.
Package: laravel-doctrine/fluent — a fluent PHP mapping driver for Doctrine ORM entities, used alongside laravel-doctrine/orm in Laravel applications that prefer code-based mapping over attributes/XML/YAML.
Architecture fit
EntityManager metadata driver. It does not own persistence, connection management, or the Laravel integration layer — those remain with laravel-doctrine/orm and doctrine/dbal.Integration feasibility
composer require laravel-doctrine/fluent, register the driver, point Doctrine at it.Technical risk
doctrine/dbal ^4 and, by extension, the corresponding doctrine/orm major. The real migration cost is concentrated in ORM/DBAL, not in Fluent itself: custom DBAL types, platform detection, schema tooling, and any hand-rolled repository SQL.laravel-doctrine/orm must have a DBAL-4-compatible release available.Key questions
composer.json constraints for php, doctrine/dbal, doctrine/orm, and illuminate/support?laravel-doctrine/orm release pairs with Fluent 3.0.0?Stack fit
laravel-doctrine/orm for container wiring and this package purely as the metadata driver.Migration path
doctrine/dbal and doctrine/orm in composer.lock. Any package without a DBAL-4-compatible release halts the upgrade.composer why-not doctrine/dbal ^4 loop until the graph resolves cleanly.Compatibility
laravel-doctrine/orm + DBAL 4 + ORM major. Partial resolution (e.g. Fluent 3 with an ORM still on DBAL 3) is not a valid state.^2.0 deliberately and record it as accepted technical debt with a review date.Sequencing
composer.json at the 3.0.0 tag and the full diff against 2.0.1 — the changelog is insufficient on its own.laravel-doctrine/orm compatibility and lock an explicit version pair.doctrine:schema:validate and a metadata cache warm.^3.0, re-validate mappings, then run a staging migration dry-run against a production-like schema.Maintenance
laravel-doctrine/orm, DBAL, and ORM versioned as a single unit in the dependency policy.Support
composer.lock and avoid floating constraints on this dependency.Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?