PHPackages                             repat/laravel-passport-models - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. repat/laravel-passport-models

ActiveLibrary[Database &amp; ORM](/categories/database)

repat/laravel-passport-models
=============================

Eloquent Models for the oauth\_ tables as created by laravel/passport

0.2(5y ago)06MITPHPPHP &gt;=5.6CI failing

Since Jul 19Pushed 5y agoCompare

[ Source](https://github.com/repat/laravel-passport-models)[ Packagist](https://packagist.org/packages/repat/laravel-passport-models)[ Docs](https://repat.de)[ RSS](/packages/repat-laravel-passport-models/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

laravel-passport-models
=======================

[](#laravel-passport-models)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a2e0533c2f9f17257b472591f1bf91bed148fa3f846cdc389b5af0eab66eccb0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72657061742f6c61726176656c2d70617373706f72742d6d6f64656c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/repat/laravel-passport-models)[![Total Downloads](https://camo.githubusercontent.com/c3fc6bb229f1b6cacca82a6ac472f8db080ad2af6bcd0fd13e6d436657d8d3b6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72657061742f6c61726176656c2d70617373706f72742d6d6f64656c732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/repat/laravel-passport-models)

**laravel-passport-models** contains Eloquent models for the tables `oauth_` table created by the [Laravel Passport](https://laravel.com/docs/7.x/passport) migrations.

Installation
------------

[](#installation)

`$ composer require repat/laravel-passport-models`

Documentation
-------------

[](#documentation)

#### Casting

[](#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

[](#relationships)

There is a `->client` relationship for `client_id` and a `->access_token` relationship for `access_token_id`.

License
-------

[](#license)

- MIT, see [LICENSE](https://github.com/repat/laravel-passport-models/blob/master/LICENSE)

Version
-------

[](#version)

- Version 0.2

Contact
-------

[](#contact)

#### repat

[](#repat)

- Homepage:
- e-mail:
- Twitter: [@repat123](https://twitter.com/repat123 "repat123 on twitter")

[![Flattr this git repo](https://camo.githubusercontent.com/7e3f46a36526479d701ef7f90a0f8c3ac2fbab3087446e2a9fceed75cd1ab802/687474703a2f2f6170692e666c617474722e636f6d2f627574746f6e2f666c617474722d62616467652d6c617267652e706e67)](https://flattr.com/submit/auto?user_id=repat&url=https://github.com/repat/laravel-passport-models&title=laravel-passport-models&language=&tags=github&category=software)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~13 days

Total

5

Last Release

2069d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/405dab243007488e7e7851422e5864a9312aee36058d60f1e6d623232c4d3131?d=identicon)[repat](/maintainers/repat)

---

Top Contributors

[![repat](https://avatars.githubusercontent.com/u/516807?v=4)](https://github.com/repat "repat (7 commits)")

---

Tags

laravelmodeleloquentoauthpassport

### Embed Badge

![Health badge](/badges/repat-laravel-passport-models/health.svg)

```
[![Health](https://phpackages.com/badges/repat-laravel-passport-models/health.svg)](https://phpackages.com/packages/repat-laravel-passport-models)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[qcod/laravel-imageup

Auto Image upload, resize and crop for Laravel eloquent model using Intervention image

775113.8k](/packages/qcod-laravel-imageup)[waad/laravel-model-metadata

A robust Laravel package for handling metadata with JSON casting, custom relation names, and advanced querying capabilities.

823.1k](/packages/waad-laravel-model-metadata)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
