Skip to content

Commit ff3a914

Browse files
author
James Hayes
committed
Updated Read me
1 parent 6c54263 commit ff3a914

File tree

1 file changed

+27
-17
lines changed

1 file changed

+27
-17
lines changed

README.md

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,7 @@
55
[![Total Downloads](https://img.shields.io/packagist/dt/webdevhayes/laravel-ticket-tailor-wrapper.svg?style=flat-square)](https://packagist.org/packages/webdevhayes/laravel-ticket-tailor-wrapper)
66

77

8-
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
9-
10-
## Support us
11-
12-
[<img src="https://github-ads.s3.eu-central-1.amazonaws.com/package-laravel-ticket-tailor-wrapper-laravel.jpg?t=1" width="419px" />](https://spatie.be/github-ad-click/package-laravel-ticket-tailor-wrapper-laravel)
13-
14-
We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).
15-
16-
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).
8+
This is a laravel wrapper for [Ticket Tailor](https://tickettailor.com/). This wrapper allows you to access your Ticket Tailor data through their Apis.
179

1810
## Installation
1911

@@ -25,11 +17,6 @@ composer require webdevhayes/laravel-ticket-tailor-wrapper
2517

2618
You can publish and run the migrations with:
2719

28-
```bash
29-
php artisan vendor:publish --provider="Webdevhayes\LaravelTicketTailorWrapper\LaravelTicketTailorWrapperServiceProvider" --tag="migrations"
30-
php artisan migrate
31-
```
32-
3320
You can publish the config file with:
3421
```bash
3522
php artisan vendor:publish --provider="Webdevhayes\LaravelTicketTailorWrapper\LaravelTicketTailorWrapperServiceProvider" --tag="config"
@@ -39,14 +26,37 @@ This is the contents of the published config file:
3926

4027
```php
4128
return [
29+
30+
/*
31+
|--------------------------------------------------------------------------
32+
| Ticket Tailor Api Base Url
33+
|--------------------------------------------------------------------------
34+
|
35+
| This value is the base url for the api calls.
36+
|
37+
*/
38+
39+
"base_url" => env('TT_BASE_URL', 'https://api.tickettailor.com/v1'),
40+
41+
/*
42+
|--------------------------------------------------------------------------
43+
| Ticket Tailor Api Key
44+
|--------------------------------------------------------------------------
45+
|
46+
| This value is the api key for ticket tailor. This value is used when the
47+
| api is called.
48+
|
49+
*/
50+
"api_key" => env('TT_API_KEY', ''),
51+
4252
];
4353
```
4454

4555
## Usage
4656

4757
```php
48-
$laravel-ticket-tailor-wrapper = new Webdevhayes\LaravelTicketTailorWrapper();
49-
echo $laravel-ticket-tailor-wrapper->echoPhrase('Hello, Webdevhayes!');
58+
$ticketTailor = new Webdevhayes\LaravelTicketTailorWrapper();
59+
dd($ticketTailor->auth()->getAllEvents());
5060
```
5161

5262
## Testing
@@ -70,7 +80,7 @@ Please review [our security policy](../../security/policy) on how to report secu
7080
## Credits
7181

7282
- [James Hayes](https://github.com/WebDevHayes)
73-
- [All Contributors](../../contributors)
83+
- [Spatie Laravel Package Skeleton](https://github.com/spatie/package-skeleton-laravel)
7484

7585
## License
7686

0 commit comments

Comments
 (0)