PHP code example of easybill / php-sdk
1. Go to this page and download the library: Download easybill/php-sdk library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
easybill / php-sdk example snippets
use easybill\SDK\Client;
use easybill\SDK\Endpoint;
$client = new Client(new Endpoint('... your API key ...'));
$result = $client->request('GET', 'documents');
print_r($result);
bash
composer