Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Latest commit

 

History

History
44 lines (30 loc) · 871 Bytes

01_Installation.md

File metadata and controls

44 lines (30 loc) · 871 Bytes

Installation

Via .phar

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

Via composer

The recommended way to install phpsa is via Composer.

  1. If you do not have composer installed, download the composer.phar executable or use the installer.
$ curl -sS https://getcomposer.org/installer | php
  1. Run php composer.phar require ovr/phpsa or add a new requirement in your composer.json.
{
  "require": {
    "ovr/phpsa": "*"
  }
}
  1. Run php composer.phar update

Via source

git clone https://github.com/ovr/phpsa
cd phpsa
./bin/phpsa

Next: Usage