This is a laravel wrapper for Ticket Tailor. This wrapper allows you to access your Ticket Tailor data through their Apis.
You can install the package via composer:
composer require webdevhayes/laravel-ticket-tailor-wrapper
You can publish the config file with:
php artisan vendor:publish --provider="Webdevhayes\LaravelTicketTailorWrapper\LaravelTicketTailorWrapperServiceProvider" --tag="config"
This is the contents of the published config file:
return [
/*
|--------------------------------------------------------------------------
| Ticket Tailor Api Base Url
|--------------------------------------------------------------------------
|
| This value is the base url for the api calls.
|
*/
"base_url" => env('TT_BASE_URL', 'https://api.tickettailor.com/v1'),
/*
|--------------------------------------------------------------------------
| Ticket Tailor Api Key
|--------------------------------------------------------------------------
|
| This value is the api key for ticket tailor. This value is used when the
| api is called.
|
*/
"api_key" => env('TT_API_KEY', ''),
];
$ticketTailor = new Webdevhayes\LaravelTicketTailorWrapper( config('ticket-tailor-wrapper.api_key'), config('ticket-tailor-wrapper.base_url') );
dd($ticketTailor->auth()->getAllEvents());
- Add tests
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.