ahmed-bhs/doctrine-doctor
Doctrine Doctor is a runtime analysis tool for Doctrine ORM integrated into the Symfony Web Profiler. It detects real-world issues like N+1 queries, slow queries, missing indexes, hydration overhead, and injection risks, with actionable backtraces and suggestions.
Adopt if:
Look elsewhere if:
For Executives:
"Doctrine Doctor is a Symfony-native tool that automatically detects performance and security issues in Doctrine queries during development—saving us time and reducing production incidents. It’s like a doctor’s checkup for your database, integrated into the Symfony Profiler. For example, it caught 100+ N+1 queries in our legacy module last sprint, which we fixed in hours instead of days. The cost? Just a composer require—no infrastructure changes."
For Engineers: *"This replaces manual query logging and guesswork with real-time, actionable feedback in the Symfony Profiler. Key benefits:
dev environment.templates/user/index.html.twig:15).n_plus_one or slow_query analyzers via YAML.
Example: It flagged a 500ms query in our checkout flow—turns out we were fetching user.orders.items without addSelect(). Fixed in 10 minutes."*For PMs: *"This tool shifts left database optimization and security checks into development, reducing:
How can I help you explore Laravel packages today?