nunomaduro /phpinsights
🔰 Instant PHP quality checks from your console
★ 5,647⑂ 298👁 59⑃ 355● 394▤ 25
-1
日增长
5,647
stars
298
forks
59
watchers
355
prs
394
issues
25
releases
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:
- 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.Top issues
#232Improvement: add serve dashboard command / static page18 comments · 2019-07-25#709Website is offline10 comments · 2025-05-22#640Syntax JsonException issue10 comments · 2023-04-03#363False positive "Unused private elements"7 comments · 2020-02-17#323[IDEA] Badges like Shields.io7 comments · 2019-11-22#202Implement option to output issues grouped by file6 comments · 2019-06-27#579Unable to find composer binary folder5 comments · 2022-05-13#675Can not ignore SlevomatCodingStandard\Sniffs\Functions\FunctionLengthSniff4 comments · 2024-03-04
Latest release
v2.15.1 v2.15.1 2026-11-07Full Changelog: https://github.com/nunomaduro/phpinsights/compare/v2.15.0...v2.15.1