Preparing Your Model

Add HasTickets trait into your User model, along with CanUseTickets interface

1...
2use Coderflex\LaravelTicket\Concerns\HasTickets;
3use Coderflex\LaravelTicket\Contracts\CanUseTickets;
4...
5class User extends Model implements CanUseTickets
6{
7 ...
8 use HasTickets;
9 ...
10}

Join our newsletter

Subscribe to Our Newsletter and never miss our offers, latest news, Articles, etc.

We care about the protection of your data. Read our Privacy Policy.