repat/laravel-passport-models

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

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: 2021-06-11 05:23:13 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