huluti/doctrine-relations-analyser
Doctrine Relations Analyser inspects Doctrine ORM entity associations to flag missing or misconfigured relations—such as absent inversedBy/mappedBy, cascade, orphanRemoval, and nullable settings—helping you catch mapping issues early and keep your model consistent.
Architecture fit
laravel-doctrine / Doctrine ORM as the primary mapper, (c) shared libraries consumed by both. Note that doctrine/dbal alone is not sufficient — this tool needs full ORM entity metadata.Model::resolveRelationUsing / reflection.Integration feasibility
composer require --dev, register the bundle in config/bundles.php for dev/test only, invoke the console command in CI. Expect no Symfony Flex recipe, so manual registration is required.Technical risk
Key questions
Stack fit
Migration path
require-dev dependency in the pilot service with a pinned constraint (choose 0.8.x where PHP ≥ 8.4 is available, otherwise stay on the 0.7.x line and track the gap).dev/test environments only.Compatibility
Sequencing
Maintenance
Support
Scaling
Failure modes
bundles.php during a Symfony upgrade → job passes vacuously. 0.8.0's Symfony 8 support reduces (but does not eliminate) the chance of a constraint conflict forcing removal during an upgrade. Add an assertion that the command actually executed and produced output.Ramp-up
TPM verdict
How can I help you explore Laravel packages today?