ftven/cli-audit

Audit CLI Tool (PHP QA)

dev-develop 2014-07-03 22:09 UTC

This package is not auto-updated.

Last update: 2024-11-19 02:52:31 UTC


README

Audit CLI is a command line tool (CLI) providing useful commands to audit PHP projects source code.

Installation

1/ Phar download

You can download the Phar packaged version on http://... (@todo)

$ curl -sS -O http://.../audit.phar
$ sudo mv audit.phar /usr/local/bin/audit

2/ Git clone

You can directly clone the GitHub repository :

$ git clone git@github.com:francetv/php-cli-audit.git
$ cd php-cli-audit
$ composer.phar install
$ ./bin/audit package
$ sudo mv audit.phar /usr/local/bin/audit

Usage

$ audit
$ audit -h
$ audit <command>

Tests

You can run the unit tests with the following command:

$ cd php-cli-audit
$ composer.phar install
$ ./bin/phpunit --colors test

Resources

Audit CLI