travis-south/phpqatools

PHP QA Tools 的元 composer 包。

安装: 994

依赖者: 0

建议者: 0

安全性: 0

星级: 0

关注者: 3

分支: 20

类型:metapackage

5.0.0 2019-05-30 04:50 UTC

This package is auto-updated.

Last update: 2024-09-29 03:52: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
  • 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