akeneo/php-coupling-detector
Detect PHP coupling issues based on configurable rules by analyzing class use statements. Supports forbidden, discouraged, and only rules, with error/warning violations. Includes commands to detect violations and list unused requirements.
Adopt if:
Look elsewhere if:
For Executives: "This tool is like a ‘code CT scan’ for our PHP/Laravel applications—now fully compatible with PHP 8.2 and Symfony 7, ensuring it works flawlessly with our modern stack. It automatically detects hidden dependencies that slow down development, increase bugs, and make scaling harder. For example, it could reveal that a critical feature depends on 5 other modules, explaining why refactoring takes weeks. With active maintenance and new contributors, this is a low-risk, high-impact way to future-proof our tech stack, reducing rework and accelerating releases while saving time and money long-term."
For Engineering Leaders: *"The akeneo/php-coupling-detector (v0.8.3) now supports PHP 8.2 and Symfony 7, making it a safer choice for teams upgrading their stacks. Key benefits include:
For Developers: *"Imagine if your IDE warned you every time you created a dependency that could break another team’s work—but now, it’s fully compatible with PHP 8.2 and Symfony 7, so no more ‘works on my machine’ excuses due to version mismatches. This tool does that for the whole codebase:
How can I help you explore Laravel packages today?