alengo/doctrine-compatibility-bundle
spatie/laravel-symfony-support). This makes it a low-friction addition if the stack already supports Symfony components.Sluggable, Timestampable).doctrine/dbal, doctrine/orm) is not natively supported in Laravel’s ecosystem. This bundle assumes a Symfony-like environment, so integration would require:
spatie/laravel-symfony-support or a similar bridge.Kernel.php overrides).SoftDeleteable, Tree), this bundle could enable upgrades to newer Gedmo versions without breaking changes.EntityManager API changes, query builder syntax). The bundle mitigates some, but not all, risks.symfony/flex or symfony/recipes to manage bundle dependencies cleanly.laravel-doctrine/orm)?spatie/laravel-symfony-support) or hybrid Laravel/Symfony apps.laravel-doctrine/orm (official Laravel Doctrine bridge).doctrine/orm + custom Laravel integration.spatie/laravel-activitylog or cviebrock/eloquent-sluggable.composer require spatie/laravel-symfony-support
composer require alengo/doctrine-compatibility-bundle
config/bundles.php (Symfony-style) or use Laravel’s bundle loader.config/doctrine.php (or create one) to align with Symfony’s Doctrine config structure.# config/packages/doctrine.yaml (Symfony-style)
doctrine:
orm:
auto_generate_proxy_classes: true
naming_strategy: doctrine_compatibility_bundle.naming_strategy
use statements for Doctrine classes (e.g., Doctrine\ORM\Mapping).php bin/console doctrine:schema:validate
EntityManager API usage.prePersist, postLoad).doctrine:schema:update). Test these in Laravel’s context.symfony/console, symfony/dependency-injection).composer why-not to audit unnecessary packages.doctrine:query-sql to inspect generated SQL.debug:container for service inspection.dd() or Symfony’s dump() for debugging.How can I help you explore Laravel packages today?