ticketevolution/ticketevolution-php

A PHP 7.1+ library for the Ticket Evolution API.

4.4.4 2022-08-19 22:09 UTC

README

The Ticket Evolution PHP Client is an open source framework created to simplify working with the Ticket Evolution API web service. We created it to enable you to quickly implement the Ticket Evolution API web service on your own site whether you are creating a new site or switching from a different provider. We released it as open source so that you could make changes and improvements as you see fit. When you do we hope that you will give these changes back to the community by contributing them back to the project.

Install

Via Composer

$ composer require ticketevolution/ticketevolution-php

Usage

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);

Contributing

Please see CONTRIBUTING for details.

Credits

License

The BSD 3-Clause License (New BSD). Please see License File for more information.