Smart Analyzer for PHP
- Author(s)
- (( authors ))
- Company
- (( companies ))
- (( resource.label ))
- (( resource.mask ))
- Dependencies
- (( dependencies ))
Smart Analyzer for PHP is a development tool aimed at bringing complex analysis for PHP applications and libraries.
This software is currently in early alpha state.
Installation
Install from a Composer package as a dev dependency (with Composer)
Make sure you have Composer installed.
Install from a Git repository (with Git)
Make sure you have git and Composer installed.
Git clone the repository:
Change into the new directory:
Install the project dependencies:
Run it:
git clone git://github.com/ovr/phpsa.git
Change into the new directory:
cd phpsa
Install the project dependencies:
composer install
Run it:
bin/phpsa
Install from a PHP Archive (with curl or wget)
The PHPUnit documentation has a clear manual on how to install PHARs on Windows.
If you have the Suhosin extension enabled,
make sure to allow the execution of PHARs in your php.ini
:
suhosin.executor.include.whitelist = phar
Locally (X.X.X)
Download it:wget -O phpsa.phar https://github.com/ovr/phpsa/releases/download/X.X.X/phpsa.phar
or
curl -sSL https://github.com/ovr/phpsa/releases/download/X.X.X/phpsa.phar -o phpsa.phar
Use it:
php phpsa.phar
Globally (X.X.X)
Download it:wget -O phpsa.phar https://github.com/ovr/phpsa/releases/download/X.X.X/phpsa.phar
or
curl -sSL https://github.com/ovr/phpsa/releases/download/X.X.X/phpsa.phar -o phpsa.phar
Install it as an executable:
chmod a+x phpsa.phar
sudo mv phpsa.phar /usr/local/bin/phpsa
Use it:
phpsa