phpinsights

?Instant PHP quality checks from your console

Github stars Tracking Chart

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:
./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

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

Main metrics

Overview
Name With Ownernunomaduro/phpinsights
Primary LanguagePHP
Program languagePHP (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2019-03-31 15:04:36
Pushed At2025-03-30 15:28:54
Last Commit At2025-03-30 16:28:32
Release Count46
Last Release Namev2.13.1 (Posted on )
First Release Namev1.0.0 (Posted on )
用户参与
Stargazers Count5.4k
Watchers Count60
Fork Count288
Commits Count769
Has Issues Enabled
Issues Count387
Issue Open Count66
Pull Requests Count258
Pull Requests Open Count0
Pull Requests Close Count64
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private