repat/laravel-passport-models

Eloquent Models for the oauth_ tables as created by laravel/passport

0.2 2020-09-11 03:39 UTC

This package is auto-updated.

Last update: 2020-11-11 04:10:01 UTC


README

Latest Version on Packagist Total Downloads

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

Version

  • Version 0.2

Contact

repat

Flattr this git repo