New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

nunomaduro/phpinsights

Instant PHP quality checks from your console.
12,907,173 5,647
Install
composer require nunomaduro/phpinsights
Latest Version:v2.15.0
PHP:^8.4
License:MIT
Last Updated:Oct 14, 2026
Links: GitHub  ·  Packagist
Maintainer: nunomaduro

PHP Insights PHP Insights Preview

Unit Tests Total Downloads Latest Version License

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.

🚀 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 donating

Click the "💖 Sponsor" at the top of this repo.

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

Related Packages

gustavobava/nunomaduro-phpinsights

Instant PHP quality checks from your console.

19,741 1
nprupico/phpinsights

Instant PHP quality checks from your console.

5,797 0
marcosmarcolin/phpinsights

Instant PHP quality checks from your console.

1,858 0
nunomaduro/laravel-meetups

Console application to check Laravel Meetups near you

42 10
leafs/aloe

Overpowered command line tool for your leaf apps.

20,063 5

Version History

Version Released PHP License
v2.15.0 ^8.4 MIT
v2.14.2 ^8.3 MIT
v2.14.1 ^8.3 MIT
v2.14.0 ^8.3 MIT
v2.13.3 ^8.1 MIT