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

0.2 2020-09-11 03:39 UTC

This package is auto-updated.

Last update: 2025-10-11 15:06:33 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