项目
在 GitHub 查看
nunomaduro/phpinsights
nunomaduro/phpinsights has 5,647 GitHub stars and 300 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-06 15:29 UTC. Last push 2026-10-14.
🔰 在控制台中即时检查 PHP 代码质量
可以做什么
- 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
实测星标增长
- 24小时
- 0
- 7天
- 更新延迟
- 15天
- 更新延迟
- 1个月
- 更新延迟
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
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.