https://github.com/nunomaduro/phpinsights
PHP Insights was carefully crafted to simplify the analysis of your code directly from your terminal, and is the perfect starting point to analyze the code quality of your PHP projects.
Analysis of code quality and coding style. Beautiful overview of code architecture and it's complexity.
Designed to work out-of-the-box with Laravel, Symfony, Yii, WordPress, Magento2, and more.
Contains built-in checks for making code reliable, loosely coupled, simple, and clean.
PHP Insights is open-sourced software licensed under the MIT license.