Fetching contributors…
Cannot retrieve contributors at this time
39 lines (25 sloc) 736 Bytes

Installation on *nix

Downloading executable phar.

$ curl -sS | php

Move file to your PATH, so you can access it globally.

$ mv apigen.phar /usr/local/bin/apigen

Now you can simply run apigen instead of php apigen.phar.

Installation on Windows

Change to your PATH directory and run the install snippet to download apigen.phar:

C:\Users\username>cd C:\bin
C:\bin>php -r "readfile('');" | php

Create a new apigen.bat file alongside apigen.phar:

C:\bin>echo @php "%~dp0apigen.phar" %*>apigen.bat

Close your current terminal. Test usage with a new terminal:

ApiGen version v4.0.0