nunomaduro / phpinsights
Instant PHP quality checks from your console.
Fund package maintenance!
nunomaduro
cmgmyr
JustSteveKing
Installs: 7 302 923
Dependents: 392
Suggesters: 3
Security: 0
Stars: 5 315
Watchers: 63
Forks: 283
Open Issues: 72
Requires
- php: ^7.4|^8.0
- ext-iconv: *
- ext-json: *
- ext-mbstring: *
- ext-tokenizer: *
- cmgmyr/phploc: ^8.0.3
- composer/semver: ^3.4
- friendsofphp/php-cs-fixer: ^3.40.0
- justinrainbow/json-schema: ^5.2.13
- league/container: ^3.2|^4.2
- php-parallel-lint/php-parallel-lint: ^1.3.2
- psr/container: ^1.0|^2.0.2
- psr/simple-cache: ^1.0|^2.0|^3.0
- sebastian/diff: ^4.0|^5.0.3|^6.0
- slevomat/coding-standard: ^8.14.1
- squizlabs/php_codesniffer: ^3.7.2
- symfony/cache: ^5.4|^6.0|^7.0
- symfony/console: ^5.4|^6.4|^7.0
- symfony/finder: ^5.4|^6.0|^7.0
- symfony/http-client: ^5.4|^6.0|^7.0
- symfony/process: ^5.4|^6.4|^7.0
Requires (Dev)
- ergebnis/phpstan-rules: ^0.15.3
- illuminate/console: ^5.8|^6.0|^7.0|^8.0|^9.20|^10.0
- illuminate/support: ^5.8|^6.0|^7.0|^8.0|^9.52.16|^10.0
- mockery/mockery: ^1.6.6
- phpstan/phpstan-strict-rules: ^0.12.11
- phpunit/phpunit: ^8.0|^9.0|^10.4.2
- rector/rector: 0.11.56
- symfony/var-dumper: ^5.4|^6.0|^7.0
- thecodingmachine/phpstan-strict-rules: ^0.12.2
Suggests
- ext-simplexml: It is needed for the checkstyle formatter
- dev-master
- v2.12.0
- v2.11.0
- v2.10.0
- v2.9.0
- v2.8.0
- v2.7.0
- v2.6.1
- v2.6.0
- v2.5.0
- v2.4.0
- v2.3.0
- v2.2.0
- v2.1.0
- v2.0.1
- v2.0.0
- v1.x-dev
- v1.14.1
- v1.14.0
- v1.13.0
- v1.12.0
- v1.11.1
- v1.11.0
- v1.10.3
- v1.10.2
- v1.10.1
- v1.10.0
- v1.9.0
- v1.8.1
- v1.8.0
- v1.7.0
- v1.6.0
- v1.5.0
- v1.4.0
- v1.3.1
- v1.3.0
- v1.2.1
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-dependabot/composer/tests/Fixtures/Domain/Results/SecurityIssueComposer/symfony/http-foundation-5.4.46
- dev-feat/adds-support-laravel-7
- dev-fix/non-defined-key-on-config-resolver
- dev-feat/first
This package is auto-updated.
Last update: 2024-11-11 14:44:00 UTC
README
For full documentation, visit phpinsights.com.
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, logo design Caneco, and currently is maintained by Chris Gmyr, Jibé Barth, and Steve McDougall.
🚀 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.