The easiest way to get it working is to download a tagged phpsa.phar release, and put this on your path. For example:
wget https://github.com/ovr/phpsa/releases/download/0.6.2/phpsa.phar
chmod +x phpsa.phar
sudo mv phpsa.phar /usr/local/bin/phpsa
The recommended way to install phpsa is via Composer.
- If you do not have composer installed, download the
composer.phar
executable or use the installer.
$ curl -sS https://getcomposer.org/installer | php
- Run
php composer.phar require ovr/phpsa
or add a new requirement in your composer.json.
{
"require": {
"ovr/phpsa": "*"
}
}
- Run
php composer.phar update
git clone https://github.com/ovr/phpsa
cd phpsa
./bin/phpsa
Next: Usage