PHP code example of ticketevolution / ticketevolution-php
1. Go to this page and download the library: Download ticketevolution/ticketevolution-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/ */
ticketevolution / ticketevolution-php example snippets
bash
$ composer
php
use TicketEvolution\Client as TEvoClient;
$apiClient = new TEvoClient([
'baseUrl' => 'https://api.ticketevolution.com',
'apiVersion' => 'v9',
'apiToken' => 'xxxxxxxxxxxxxxxxxxxxxxxx',
'apiSecret' => 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy',
]);
$events = $apiClient->listEvents();
var_dump($events);