PHP code example of exonet / exonet-api-php
1. Go to this page and download the library: Download exonet/exonet-api-php 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/ */
exonet / exonet-api-php example snippets
bash
$ composer
php
uthentication = new Exonet\Api\Auth\PersonalAccessToken('<YOUR_API_TOKEN>');
$exonetApi = new Exonet\Api\Client();
$exonetApi->setAuth($authentication); // Or: $exonetApi = new Exonet\Api\Client($authentication);
$certificates = $exonetApi->resource('certificates')->get();
bash
$ php examples/ticket_details.php <YOUR-TOKEN>