Skip to content
This repository was archived by the owner on Oct 19, 2020. It is now read-only.

Commit cd5b0e9

Browse files
committed
Merge branch 'master' of github.com:Webysther/composer-plugin-qa
2 parents 8304419 + 702820d commit cd5b0e9

File tree

1 file changed

+41
-3
lines changed

1 file changed

+41
-3
lines changed

README.md

+41-3
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,49 @@
88

99
Comprehensive [plugin for composer](https://getcomposer.org/doc/articles/plugins.md#creating-a-plugin)
1010
to execute [PHP QA Tools](http://phpqatools.org) in a uniform and simple way.
11+
12+
## Install
1113

12-
For others plugins for composer [see](https://packagist.org/search/?q=type=composer-plugin).
14+
Add to composer.json:
1315

14-
PHP Quality Assurance Tools
15-
==========
16+
```json
17+
"require-dev": {
18+
"webysther/composer-plugin-qa": "~1.0",
19+
"webysther/composer-meta-qa": "~1.0"
20+
}
21+
```
22+
23+
List the options
24+
25+
```bash
26+
$ composer list
27+
qa
28+
qa:all Run all tools
29+
qa:code-coverage Code Coverage
30+
qa:cc Code Coverage
31+
qa:code-beautifier-fixer Code Beautifier and Fixer
32+
qa:cbf Code Beautifier and Fixer
33+
qa:copy-paste-detector Copy/Paste Detector
34+
qa:cpd Copy/Paste Detector
35+
qa:code-sniffer Code Sniffer
36+
qa:cs Code Sniffer
37+
qa:php-cs-fixer PHP Code Sniffer Fixer
38+
qa:csf PHP Code Sniffer Fixer
39+
qa:line-of-code Line of Code
40+
qa:loc Line of Code
41+
qa:mess-detector Mess Detector
42+
qa:md Mess Detector
43+
qa:php-metrics PHP Metrics
44+
qa:pm PHP Metrics
45+
qa:security-checker SecurityChecker
46+
qa:sc SecurityChecker
47+
qa:test Tests
48+
49+
```
50+
51+
All plugins (except ```qa:test```) have the short version, example,```qa:sc``` is short version for ```qa:security-checker```.
52+
53+
## PHP Quality Assurance Tools
1654

1755
This is a composer meta package for installing PHP Quality Assurance Tools with only one dependency, based on [h4cc/phpqatools](https://github.com/h4cc/phpqatools).
1856

0 commit comments

Comments
 (0)