ticketevolution / ticketevolution-php

A PHP client for the Ticket Evolution web services.
BSD 3-Clause "New" or "Revised" License
22 stars 13 forks source link
j-stuff product

PHP Client Library v4 for the Ticket Evolution API

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.