Instant PHP quality checks from your console.
This package is auto-updated.
Last update: 2023-11-30 10:55:37 UTC
For full documentation, visit phpinsights.com.
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. It was created by Nuno Maduro, logo design Caneco, and currently is maintained by Chris Gmyr, Jibé Barth, and Steve McDougall.
composer require nunomaduro/phpinsights --dev
First, publish the configuration file:
php artisan vendor:publish --provider="NunoMaduro\PhpInsights\Application\Adapters\Laravel\InsightsServiceProvider"
Then, use it:
php artisan insights
- Analysis of code quality and coding style
- Beautiful overview of code architecture and its complexity
- Designed to work out-of-the-box with Laravel, Symfony, Yii, Magento, and more
- Contains built-in checks for making code reliable, loosely coupled, simple, and clean
Do you like this project? Support it by donating
Click the "💖 Sponsor" at the top of this repo.
PHP Insights is open-sourced software licensed under the MIT license.