๐ฐ Instant PHP quality checks from your console
Last updated Jul 8, 2026
5.6k
Stars
297
Forks
76
Issues
+3
Stars/day
Attention Score
98
Topics
Language breakdown
PHP 99.9%
Dockerfile 0.1%
Blade 0.0%
โธ Files
click to expand
README
For full documentation, visit nunomaduro.github.io/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.
- Follow the creator Nuno Maduro:
๐ Quick start
First, install:
composer require nunomaduro/phpinsights --dev
Then, use it:
./vendor/bin/phpinsights
For Laravel:
First, publish the configuration file:php artisan vendor:publish --provider="NunoMaduro\PhpInsights\Application\Adapters\Laravel\InsightsServiceProvider"
Then, use it:
php artisan insights
โจ Features
- 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
๐ Support the development
Do you like this project? Support it by donatingClick the "๐ Sponsor" at the top of this repo.
PHP Insights is open-sourced software licensed under the MIT license.
๐ More in this category