🐘 PHP library for the Pagaio API.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
.travis.yml
LICENSE
README.md
composer.json
phpunit.xml.dist

README.md

api-php-client

🐘 PHP library for the Pagaio API.

Build Status

Requirements

PHP 5.6 and later.

Composer

You can install the library via Composer. Run the following command:

composer require pagaio-lab/api-php-client

To use the library, use Composer's autoload:

require_once('vendor/autoload.php');

Dependencies

The library require the following extension in order to work properly:

If you use Composer, these dependencies should be handled automatically.

Usage

You need an API Key, you can found it in your Pagaio account. You have two API Keys, one for test and an other one for production environment.

$client = new \Pagaio\ApiClient\Client('Your_api_key');

Once your client instantiated you can interact with the Pagaio API

Documentation

The documentation is available at http://doc.paga.io