repat / laravel-passport-models
Eloquent Models for the oauth_ tables as created by laravel/passport
0.2
2020-09-11 03:39 UTC
Requires
- php: >=5.6
- laravel/framework: ^5.0 | ^6.0 | ^7.0 | ^8.0
- laravel/passport: ^9.0
README
laravel-passport-models contains Eloquent models for the tables oauth_
table created by the Laravel Passport migrations.
Installation
$ composer require repat/laravel-passport-models
Documentation
Casting
There is a casting to \Carbon\Carbon
objects for: expires_at
and a casting to boolean for revoked
, personal_access_client
and password_client
.
Relationships
There is a ->client
relationship for client_id
and a ->access_token
relationship for access_token_id
.
License
- MIT, see LICENSE
Version
- Version 0.2
Contact
repat
- Homepage: https://repat.de
- e-mail: repat@repat.de
- Twitter: @repat123