youshido/doctrine-extension
A Doctrine extension for PHP applications that adds convenient helpers and integrations for working with Doctrine ORM entities, repositories, and mappings, streamlining configuration and everyday persistence tasks.
Architecture fit
laravel-doctrine/orm, Doctrine migrations, Doctrine-backed repositories). That is a second persistence paradigm alongside Eloquent, not an additive utility — it introduces dual model definitions, two migration systems, two caching/identity-map stories, and two sets of conventions for the team.Integration feasibility
composer require will almost certainly produce unsatisfiable dependency graphs against any current Laravel skeleton. Integration is not "install and configure" but "fork, modernize, and own."Technical risk
Key questions
gedmo/doctrine-extensions (maintained) or by first-party Laravel/Eloquent equivalents?Stack fit
Migration path
gedmo/doctrine-extensions for tree/sluggable/timestampable/translatable-class behaviors, or native Doctrine listeners). Replacement is almost always cheaper than resurrection.Acme\DoctrineExtension), publish via private Packagist/Satis, and treat it as first-party code.convertToDatabaseValue/convertToPHPValue with platform-aware args), audit event subscribers against current lifecycle, add PHP 8.1+ CI and a test harness covering each behavior.Compatibility
composer.json and add a CI matrix that fails on unplanned transitive bumps.Sequencing
Maintenance
Support
Scaling
Failure modes
Ramp-up
Recommendation: Do not adopt as a new dependency. If it is already in the tree, treat it as technical debt with a dated remediation plan: substitute with gedmo/doctrine-extensions or native Doctrine listeners first; fork-and-own only if a behavior is genuinely irreplaceable. Either way, resolve it ahead of the next major framework upgrade.
How can I help you explore Laravel packages today?