PHPackages                             rubiconinternational/passportrs - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. rubiconinternational/passportrs

AbandonedArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

rubiconinternational/passportrs
===============================

Laravel Passport provides OAuth2 server support to Laravel.

1.0(8y ago)015MITPHPPHP &gt;=5.6.4

Since Apr 5Pushed 8y ago6 watchersCompare

[ Source](https://github.com/RubiconInternational/passportrs)[ Packagist](https://packagist.org/packages/rubiconinternational/passportrs)[ RSS](/packages/rubiconinternational-passportrs/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (16)Versions (2)Used By (0)

Laravel Passport Customized with Relationships support
======================================================

[](#laravel-passport-customized-with-relationships-support)

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

[](#installation)

```
   composer require rubiconinternational/passportrs

```

[packagist](https://packagist.org/packages/rubiconinternational/passportrs)

File Modifications Made for Relationships Support
-------------------------------------------------

[](#file-modifications-made-for-relationships-support)

1. **File Modified:**[`2016_06_01_000002_create_oauth_access_tokens_table.php`](https://github.com/rubiconinternational/passportrs/blob/master/database/migrations/2016_06_01_000002_create_oauth_access_tokens_table.php)

**Modification Description:**Add incremental primary key to table. Lines 17-18

```
**Modification Reason:**
    For other projects middlware to associate other relational data and better data structure.

```

2. **File Modified:**[`PersonalAccessTokenController.php`](https://github.com/rubiconinternational/passportrs/blob/master/src/Http/Controllers/PersonalAccessTokenController.php)

    **Modification Description:**Updated store() method to build token Relationship before returning token. Lines 6, and 67-79

    **Modification Reason:**Create token relationship to carry additional data and join `oauth_access_tokens` table to `relationship` table.
3. **File Modified:**[`PersonalAccessTokens.vue`](https://github.com/rubiconinternational/passportrs/blob/master/resources/assets/js/components/PersonalAccessTokens.vue)

    **Modification Description:**Added form fields, updated data() fields and store() function to handle fields, and added minor styling. Lines 9-19, 51-55, 76-87, 149-174, 254-256, and 327-329

    ```
        api_client_id
        api_application_id
        api_token_type

    ```

    **Modification Description:**For relational data.
4. Add custom logging call. This will not work on other systems.

[![](https://camo.githubusercontent.com/5752dc6a87f0eff1a39e382082eb4d45d896dff51d8d6a221c9b821c5eef161a/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d70617373706f72742e737667)](https://camo.githubusercontent.com/5752dc6a87f0eff1a39e382082eb4d45d896dff51d8d6a221c9b821c5eef161a/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d70617373706f72742e737667)

[![Build Status](https://camo.githubusercontent.com/50ec3dd3c2708eb3cf4e87ee2de1e92bc69617d5645c3f897ee9d98244beb825/68747470733a2f2f7472617669732d63692e6f72672f6c61726176656c2f70617373706f72742e737667)](https://travis-ci.org/laravel/passport)[![Total Downloads](https://camo.githubusercontent.com/03df2468818b56fd65c71fd3847fa7f4745cf1fc9739ffe01467940a73efbf14/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f70617373706f72742f642f746f74616c2e737667)](https://packagist.org/packages/laravel/passport)[![Latest Stable Version](https://camo.githubusercontent.com/98b3b8c670d0f6b8bbf03d0e824c11d8b3cd5b04ba8a0871f798cc0f0ec5f343/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f70617373706f72742f762f737461626c652e737667)](https://packagist.org/packages/laravel/passport)[![License](https://camo.githubusercontent.com/9d036a028728fd5c5724ca720e70dbf15ae2b2dc4e09ea2a52092f5338d28925/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f70617373706f72742f6c6963656e73652e737667)](https://packagist.org/packages/laravel/passport)

Introduction
------------

[](#introduction)

Laravel Passport is an OAuth2 server and API authentication package that is simple and enjoyable to use.

Official Documentation
----------------------

[](#official-documentation)

Documentation for Passport can be found on the [Laravel website](http://laravel.com/docs/master/passport).

License
-------

[](#license)

Laravel Passport is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

2959d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d1be7fc1fafbfce23a19b78b13451b98daefd500efd07f97b6ed5fe95dad3ba8?d=identicon)[aelliott](/maintainers/aelliott)

---

Top Contributors

[![aelliott1485](https://avatars.githubusercontent.com/u/7459390?v=4)](https://github.com/aelliott1485 "aelliott1485 (2 commits)")

---

Tags

laraveloauthpassport

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rubiconinternational-passportrs/health.svg)

```
[![Health](https://phpackages.com/badges/rubiconinternational-passportrs/health.svg)](https://phpackages.com/packages/rubiconinternational-passportrs)
```

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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