laravel-ticket-tailor-wrapper maintained by webdevhayes
Description
Laravel wrapper for ticket tailor.
Author
Last update
2026/02/08 21:13
(dev-master)
License
Downloads
12
Laravel wrapper for ticket tailor.
This is a laravel wrapper for Ticket Tailor. This wrapper allows you to access your Ticket Tailor data through their Apis.
Installation
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', ''),
];
Usage
$ticketTailor = new Webdevhayes\LaravelTicketTailorWrapper( config('ticket-tailor-wrapper.api_key'), config('ticket-tailor-wrapper.base_url') );
dd($ticketTailor->auth()->getAllEvents());
TODO/POSSIBLE FEATURES
- Add tests
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.