travis-south / phpqatools
PHP QA Tools 的元 composer 包。
5.0.0
2019-05-30 04:50 UTC
Requires
- php: ^7.1
- behat/behat: ^3.5.0
- friendsofphp/php-cs-fixer: ^2.15.0
- pdepend/pdepend: ^2.5.2
- phan/phan: ^2.0.0
- phploc/phploc: ^5.0.0
- phpmd/phpmd: ^2.6.0
- phpstan/phpstan-symfony: ^0.11.6
- phpunit/phpunit: ^8.1.0
- sebastian/phpcpd: ^4.1.0
- sensiolabs/security-checker: ^5.0.3
- squizlabs/php_codesniffer: ^3.4.2
Suggests
- apigen/apigen: Documentation Generator using nette and texy.
- mayflower/php-codebrowser: A code browser that augments the code with information from various QA tools.
- phpdocumentor/phpdocumentor: Documentation Generator for PHP.
- sami/sami: Documentation generator used for Symfony2 docs.
- theseer/phpdox: A fast Documentation generator for PHP Code using standard technology (SRC, DOCBLOCK, XML and XSLT) with event based processing.
README
这是一个 composer 元包,用于安装仅有一个依赖项的 PHP 质量保证工具。只使用稳定包,以保持配置简单和安全。
本包包含以下内容
- PHPUnit
- PHP-Invoker
- DbUnit
- PHPLOC
- PHPCPD
- PHP_Depend
- PHPMD
- PHP_CodeSniffer
- Fabien Potencier/PHP Coding Standards Fixer
- Sensiolabs/Security-Checker
- Behat
- PHPStan
- Phan
用法
安装的工具可在 vendor/bin/ 下使用,启动方式如下
php vendor/bin/phpmd
安装
要使用此包,请使用以下命令将其添加为 "dev" 依赖项
composer require travis-south/phpqatools --dev
或者修改您的 composer.json 如下
require-dev: { "travis-south/phpqatools": "*" }
有关开发依赖项的更多信息:https://getcomposer.org.cn/doc/04-schema.md#require-dev