<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
webdevhayes / laravel-ticket-tailor-wrapper example snippets
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());