PHP client for the Abenity API documented at https://abenity.com/developers/api
A PHP library for using the Abenity API.
You can find the full API documentation in the official documentation.
This library requires PHP 5.3+ with the mcrypt module
Include it in your
composer.json as follows:
Add abenity/abenity-php as a dependency in composer.json.
composer require abenity/abenity-php:^2
Abenitywill be autoloaded into your project.
require 'vendor/autoload.php'; $abenity = new Abenity\ApiClient('my_api_key','my_api_username','my_api_password');
Download the latest release.
Extract into a folder in your project root named "abenity-php".
Abenityin your project like this:
require 'abenity-php/lib/Abenity.php'; $abenity = new Abenity\ApiClient('my_api_key','my_api_username','my_api_password');
Run the tests from the project root with PHPUnit like this:
[abenity-php]# phpunit tests