The following versions of PHP are supported.
- PHP 7.0
- Download the zip file or clone https://github.com/kangaroorewards/rest-api-sample-app-php.git in a folder and type in the console:
composer install
- Rename the configuration file from Config.example to Config.php in "app" folder
- Change the app urls and your Client ID and Secret in the config file
- Configure some permissions. The
storage
directory should be writable by your web server
chgrp www-data storage
chmod g+w storage
Navigate to
http://localhost/index.php
The MIT License (MIT). Please see License File for more information.