webysther / composer-plugin-qa

Comprehensive Plugin for composer to execute PHP Quality assurance Tools
MIT License
25 stars 6 forks source link
composer-plugin metrics php php-qa phpunit quality quality-assurance

NOT MAINTANED ANYMORE

The development of composer-plugin-qa was dropped in favor of phpqa which is actively maintained. The project use docker and can less tightly coupled solution. :)

Composer Plugin for QA

Travis Travis Minimum PHP Version Packagist GitHub license

Comprehensive plugin for composer to execute PHP QA Tools in a uniform and simple way.

Features

Install

Add to composer.json:

"require-dev": {
    "webysther/composer-plugin-qa": "~1.0",
    "webysther/composer-meta-qa": "~1.0"
}

Or install globally:

composer global require webysther/composer-plugin-qa

List the options

$ composer list

Almost commands have the short version, example,qa:sec is short version for qa:security-checker.

Sample

Run Code Sniffer to all source code (composer qa:cs is a short version):

If you change some peace of code e need run for this change:

Is possibile to point for diretory or file:

$ composer qa:cs app/ACME
$ composer qa:cs app/ACME/Bomb.php

To see options for any QA command:

$ composer qa:cpd --help

List of PHP Quality Assurance Tools

Plus:

Suggest install: