After download, you need to extract the .zip (or .tgz) file, go inside the extracted folder and run the following command using PHP 5.4+:
$ php -S 0.0.0.0:8888 -t public public/index.php
You can start Apigility opening your browser to http://localhost:8888
If you are using PHP < 5.4
You need to configure a web server to publish the public folder of Apigility.
Use any port
While the above command uses port 8888, you can substitute any available port on your system.
You can also install Apigility without downloading the previous package, using the following command in your terminal (make sure your internet connection is enabled):
$ curl -sS https://apigility.org/install | php
If you do not have curl installed you can use PHP itself:
$ php -r "readfile('https://apigility.org/install');" | php
Install a specific version
If you want to install a specific version of Apigility, you can specify the version in the previous URL path.
For instance, if you want to install the 1.2.1 version you need to add
/1.2.1 at the end of the URL:
$ curl -sS https://apigility.org/install/1.2.1 | php
If you are using PHP 5.3
If you are using PHP 5.3, the last minor version support that PHP version was 1.2; as such, use the above instructions to install version 1.2.1.