h4cc / phpqatools
PHP QA Tools 的元 composer 包。
2.0.0
2016-03-01 21:17 UTC
Requires
- behat/behat: ~3.0
- fabpot/php-cs-fixer: ~1.0
- pdepend/pdepend: ~2.0
- phploc/phploc: ~2.0
- phpmd/phpmd: ~2.0
- phpunit/dbunit: ~1.0|~2.0
- phpunit/phpunit: ~4.0|~5.0
- sebastian/phpcpd: ~2.0
- sensiolabs/security-checker: ~3.0
- squizlabs/php_codesniffer: ~2.0
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.
This package is not auto-updated.
Last update: 2024-09-14 14:46:39 UTC
README
这是一个 composer 元包,用于通过单个依赖安装 PHP 质量保证工具。仅使用稳定包,以保持配置简单和安全。
此包包括
- PHPUnit
- PHP-Invoker
- DbUnit
- PHPLOC
- PHPCPD
- PHP_Depend
- PHPMD
- PHP_CodeSniffer
- Fabien Potencier/PHP Coding Standards Fixer
- Sensiolabs/Security-Checker
- Behat
用法
已安装的工具位于 vendor/bin/ 目录中,可以按照以下方式启动
php vendor/bin/phpmd
安装
要使用此包,请使用以下命令将其添加为 "dev" 依赖项
composer require h4cc/phpqatools --dev
或者修改你的 composer.json 如下
require-dev: { "h4cc/phpqatools": "*" }
有关开发依赖项的更多信息: https://getcomposer.org.cn/doc/04-schema.md#require-dev
版本控制
当有新的或其他的稳定包可用时,此包将被更新。如果缺少工具,请随时建议。
为了避免可能的问题,请不要使用 composer 版本约束,例如 "~1.1"。此类约束总是会升级到最新的 "1.*" 版本,这可能会破坏您的工具链。在这种情况下,只需坚持使用小版本号,如 "1.2.*"。
待办事项
将来可能会包含 phing 或 task 构建文件。我希望有更多的工具在稳定版本中可用,这样我就可以将它们添加到这里。