nunomaduro
phpinsights
PHP

๐Ÿ”ฐ 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
Language breakdown
PHP 99.9%
Dockerfile 0.1%
Blade 0.0%
โ–ธ Files click to expand
README

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.

  • Follow the creator Nuno Maduro:
- YouTube: youtube.com/@nunomaduro โ€” Videos every week - Twitch: twitch.tv/nunomaduro โ€” Live coding on Mondays, Wednesdays, and Fridays at 9PM UTC - Twitter / X: x.com/enunomaduro - LinkedIn: linkedin.com/in/nunomaduro - Instagram: instagram.com/enunomaduro - Tiktok: tiktok.com/@enunomaduro

๐Ÿš€ 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.

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท nunomaduro/phpinsights ยท Updated daily from GitHub