Skip to content

A PHP library for using the Abenity API.

License

Notifications You must be signed in to change notification settings

artmazi/abenity-php

 
 

Repository files navigation

PHP Client for Abenity API

A PHP library for using the Abenity API.

You can find the full API documentation in the official documentation.

Requirements

This library requires PHP 5.3+ with the mcrypt module

Installation

With Composer

abenity/abenity-php package is available on Packagist.

Include it in your composer.json as follows:

  1. Add abenity/abenity-php as a dependency in composer.json.

    composer require abenity/abenity-php:^2
    
  2. Now Abenity will be autoloaded into your project.

    require 'vendor/autoload.php';
    
    $abenity = new Abenity\ApiClient('my_api_key','my_api_username','my_api_password');
    

Manually

  1. Download the latest release.

  2. Extract into a folder in your project root named "abenity-php".

  3. Include Abenity in your project like this:

    require 'abenity-php/lib/Abenity.php';
    
    $abenity = new Abenity\ApiClient('my_api_key','my_api_username','my_api_password');
    

Usage

See examples folder

Contributing

Run the tests from the project root with PHPUnit like this:

[abenity-php]# phpunit tests

About

A PHP library for using the Abenity API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%