by nunomaduro

nunomaduro / phpinsights

🔰 Instant PHP quality checks from your console

3.8K Stars 183 Forks Last release: 8 months ago (v1.13.0) MIT License 622 Commits 28 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

PHP Insights PHP Insights Preview

Build Status Total Downloads Latest Version License

For full documentation, visit

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, and currently maintained by Jibé Barth, Nuno Maduro, Oliver Nybroe, and Caneco.

🚀 Quick start

# First, install:
composer require nunomaduro/phpinsights --dev

Then, use it:


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 donating

PHP Insights is open-sourced software licensed under the MIT license.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.