pagaio-lab / api-php-client
php sdk for https://api.pagaio.com api
This package's canonical repository appears to be gone and the package has been frozen as a result.
Requires
- php: ^5.6 || ^7.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
Requires (Dev)
- domraider/rxnet: ^0.6.6
- phpunit/phpunit: ^5.7 || ^6.0
This package is not auto-updated.
Last update: 2020-04-17 18:45:53 UTC
README
🐘 PHP library for the Pagaio API.
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