h4cc / phpqatools
A meta composer package for PHP QA Tools.
Installs: 18 638
Dependents: 1
Suggesters: 0
Security: 0
Stars: 62
Watchers: 9
Forks: 20
Open Issues: 2
Type:metapackage
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-11-09 15:28:41 UTC
README
This is a composer meta package for installing PHP Quality Assurance Tools with only one dependency. Only stable packages are used, to keep the configuration easy and secure.
Included in this package are:
- PHPUnit
- PHP-Invoker
- DbUnit
- PHPLOC
- PHPCPD
- PHP_Depend
- PHPMD
- PHP_CodeSniffer
- Fabien Potencier/PHP Coding Standards Fixer
- Sensiolabs/Security-Checker
- Behat
Usage
The installed tools are available in vendor/bin/ and can be started like this:
php vendor/bin/phpmd
Installation
To use this package, add it as as "dev" dependency with this command:
composer require h4cc/phpqatools --dev
Or modify your composer.json as followed:
require-dev: { "h4cc/phpqatools": "*" }
More info about development dependencies: http://getcomposer.org/doc/04-schema.md#require-dev
Versioning
This package will be updated, when newer or other stable packages become available. Fell free to suggest tools if they are missing.
To avoid problems you may not use composer version constraints like this "~1.1". Such a constraint will always upgrade to the newest "1.*" version which might break your toolchain. In such a case, simply stick to a minor-version like "1.2.*".
Todo
A phing or task buildfile may be included someday. I hope some more tools get available in stable versions, so i can add them here.