gustavobava / nunomaduro-phpinsights
从控制台即时进行PHP质量检查。
v1.14.3
2022-08-24 20:24 UTC
Requires
- php: ^7.2
- ext-iconv: *
- ext-json: *
- ext-mbstring: *
- ext-tokenizer: *
- composer/composer: ^1.7
- friendsofphp/php-cs-fixer: ^2.15
- justinrainbow/json-schema: ^5.1
- league/container: ^3.2
- object-calisthenics/phpcs-calisthenics-rules: ^3.7
- phploc/phploc: ^5.0|^6.0
- psr/container: ^1.0
- slevomat/coding-standard: ^6.0
- squizlabs/php_codesniffer: ^3.4
- symfony/console: ^4.2|^5.0
- symfony/finder: ^4.2|^5.0
- symfony/http-client: ^4.3|^5.0
Requires (Dev)
- ergebnis/phpstan-rules: ^0.14.0
- illuminate/console: ^5.8|^6.0|^7.0
- illuminate/support: ^5.8|^6.0|^7.0
- mockery/mockery: ^1.0
- phpstan/phpstan-strict-rules: ^0.12
- phpunit/phpunit: ^8.0|^9.0
- symfony/var-dumper: ^4.2|^5.0
- symplify/easy-coding-standard: ^7.1
- thecodingmachine/phpstan-strict-rules: ^0.12.0
Suggests
- ext-simplexml: It is needed for the checkstyle formatter
This package is auto-updated.
Last update: 2024-09-25 00:53:38 UTC
README
完整文档,请访问 phpinsights.com.
PHP Insights 是精心打造的,可以直接从终端简化代码分析的工具,是分析PHP项目代码质量的完美起点。由 Nuno Maduro 创建,并由 Jibé Barth、Nuno Maduro、Oliver Nybroe 和 Caneco 维护。
🚀 快速开始
# 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
✨ 特点
- 代码质量和编码风格分析
- 代码架构和复杂度的美丽概览
- 专为与 Laravel、Symfony、Yii、Magento 等一起使用而设计
- 包含内置检查,以确保代码可靠、松散耦合、简单 和 清洁
💖 支持开发
你喜欢这个项目吗?通过捐赠来支持它
PHP Insights 是开源软件,许可证为 MIT。