repat / laravel-passport-models
Eloquent Models for the oauth_ tables as created by laravel/passport
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/repat/laravel-passport-models
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