PHPackages                             dealerdirect/qa-tools - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. dealerdirect/qa-tools

AbandonedMetapackage

dealerdirect/qa-tools
=====================

Meta package for installing all PHP QA tools you'll ever need

v0.8.0(5y ago)383.3k6[5 PRs](https://github.com/DealerDirect/php-qa-tools/pulls)MITShellPHP &gt;=5.6,&lt;8.0-dev

Since Oct 27Pushed 3y ago8 watchersCompare

[ Source](https://github.com/DealerDirect/php-qa-tools)[ Packagist](https://packagist.org/packages/dealerdirect/qa-tools)[ Docs](http://workingatdealerdirect.eu)[ RSS](/packages/dealerdirect-qa-tools/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (21)Versions (26)Used By (0)

Dealerdirect: PHP Quality Assurance Tools
=========================================

[](#dealerdirect-php-quality-assurance-tools)

[![Project Stage](https://camo.githubusercontent.com/a1c9643e53fe56b517fa8fd6d39b7c92a9a7774365ab21eb323239aafe491971/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50726f6a65637425323053746167652d446576656c6f706d656e742d79656c6c6f77677265656e2e737667)](https://camo.githubusercontent.com/a1c9643e53fe56b517fa8fd6d39b7c92a9a7774365ab21eb323239aafe491971/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50726f6a65637425323053746167652d446576656c6f706d656e742d79656c6c6f77677265656e2e737667)[![Maintenance](https://camo.githubusercontent.com/107cdbc6a67ec677b7459f72c05d13f2de1ea897382420addec98c9d70988496/68747470733a2f2f696d672e736869656c64732e696f2f6d61696e74656e616e63652f7965732f323031392e737667)](https://camo.githubusercontent.com/107cdbc6a67ec677b7459f72c05d13f2de1ea897382420addec98c9d70988496/68747470733a2f2f696d672e736869656c64732e696f2f6d61696e74656e616e63652f7965732f323031392e737667)[![Awesome](https://camo.githubusercontent.com/afcf9690d06146e11963034dc60b4fea97136bc17eaad59f91ba93cee9434b69/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617765736f6d652533462d7965732d627269676874677265656e2e737667)](https://camo.githubusercontent.com/afcf9690d06146e11963034dc60b4fea97136bc17eaad59f91ba93cee9434b69/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617765736f6d652533462d7965732d627269676874677265656e2e737667)[![License](https://camo.githubusercontent.com/2ea49052fdc6d17d3922a80f2f76fddc4e08d3dc9ad931d406c48aadaadf81b8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6465616c65726469726563742f7068702d71612d746f6f6c732e737667)](LICENSE.md)

[![Travis](https://camo.githubusercontent.com/6b45a8e5e6aa784d6c4b7e15e98f177d48d60cb21bb8da588c2eda7807abbed0/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4465616c65726469726563742f7068702d71612d746f6f6c732e737667)](https://travis-ci.org/Dealerdirect/php-qa-tools)[![Latest Version on Packagist](https://camo.githubusercontent.com/ca71c3858f5edda4a72bc3b4ec4cbd03f54ba95bd8626eacc053c02204fa6653/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6465616c65726469726563742f71612d746f6f6c732e737667)](https://packagist.org/packages/dealerdirect/qa-tools)[![Packagist](https://camo.githubusercontent.com/f2d469912735af82b8b1694afc5f63139e1bb10556de69ef70807b144c8b9ebf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6465616c65726469726563742f71612d746f6f6c732e737667)](https://packagist.org/packages/dealerdirect/qa-tools)

> *“If you don’t have time to do it right you must have time to do it over.”*

This is essentially a Composer meta package, creating a fast, easy and convenient way of installing all PHP Quality Assurance tools.

Contents
--------

[](#contents)

You'll get the following tools by depending on this package:

### Linters / Fixers

[](#linters--fixers)

- **[JSON Lint](https://github.com/Seldaek/jsonlint)**: JSON Lint for PHP
- **[PHP Coding Standards Fixer](http://cs.sensiolabs.org)**: A tool to automatically fix PHP coding standards issues
- **[PHP Parallel Lint](https://github.com/JakubOnderka/PHP-Parallel-Lint)**: Check syntax of PHP files faster than serial check with fancier output
- **[PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)**: Detects violations of a defined set of coding standards

### Quality Assistance

[](#quality-assistance)

- **[GrumPHP](https://github.com/phpro/grumphp)**: Githooks for PHP QA tooling
- **[PHP\_Depend](https://github.com/pdepend/pdepend)**: Software metrics for PHP
- **[PHPCPD](https://github.com/sebastianbergmann/phpcpd)**: Copy/Paste Detector
- **[PHPLOC](https://github.com/sebastianbergmann/phploc)**: Quickly measure the size of a PHP project
- **[PHPMD](https://phpmd.org)**: PHP Mess Detector
- **[PhpMetrics](http://www.phpmetrics.org)**: A static analysis tool for PHP
- **[SensioLabs Security Checker](https://security.sensiolabs.org)**: Checks for dependencies with known security vulnerabilities

### Test Related

[](#test-related)

- **[Codeception](http://codeception.com)**: Modern full-stack testing framework for PHP
- **[ParaTest](https://github.com/brianium/paratest)**: Parallel testing for PHPUnit
- **[PHPUnit](https://phpunit.de)**: Testing framework for PHP

### Other

[](#other)

Other packages that you'll get:

- **[Composer Versions Check](https://github.com/Soullivaneuh/composer-versions-check)**: Checks if packages are up to date to last major versions after update
- **[Deployer](https://deployer.org)**: Deployment tool for PHP
- **[Deployer Recipes](https://github.com/deployphp/recipes)**: Third party recipes to integrate with Deployer
- **[Phinx](https://phinx.org)**: Phinx makes it ridiculously easy to manage the database migrations for your PHP app
- **[PHP\_CodeSniffer Composer Installer](https://github.com/Dealerdirect/phpcodesniffer-composer-installer)**: For installing PHP\_CodeSniffer coding standards
- **[PHPCompatibility](https://github.com/PHPCompatibility/PHPCompatibility)**: PHP Compatibility checks for PHP\_CodeSniffer
- **[Prestissimo](https://github.com/hirak/prestissimo)**: Composer parallel install plugin
- **[Tombstone Analyzer](https://github.com/scheb/tombstone-analyzer)**: Report generation for Tombstones

Suggested
---------

[](#suggested)

The following packages are suggested:

- **[Behat](http://behat.org)**: Scenario-oriented BDD framework
- **[ApiGen](http://www.apigen.org)**: Smart and Readable Documentation for your PHP project
- **[Mockery](https://github.com/padraic/mockery)**: A simple yet flexible PHP mock object framework
- **[PHP\_CodeBrowser](https://github.com/mayflower/PHP_CodeBrowser)**: A code browser that augments the code with information from various QA tools
- **[phpcov](https://github.com/sebastianbergmann/phpcov)**: Command-line frontend for the PHP\_CodeCoverage library
- **[phpDocumentor](https://www.phpdoc.org)**: Documentation generator for PHP
- **[phpDox](http://phpdox.de)**: Documentation generator for PHP
- **[Sami](https://github.com/FriendsOfPHP/sami)**: An API documentation generator

Usage
-----

[](#usage)

This is a simple metapackage which can be used in two different ways; globally installed or on a per project basis.

Both methods have their strengths (+) and weaknesses (-).

**Global installation**:

- + All tools are present anywhere on your system
- + Can be used on any codebase, even the ones that don't use Composer.
- - You'll have to update manually, since it's not a project, versioning is not managed.

**Per project installation**:

- + Versioning (update/installation) is provided in the project
- - Tools not available system wide. You'll need to run them from a specific path.

These methods are not mutual exclusive. You can have your global installed version, which can be used anywhere, but still use the one provided in a project.

Installation
------------

[](#installation)

### Global installation

[](#global-installation)

The following script will install a system wide Composer for you, including the QA tools.

```
bash
