PHPackages                             liliom/passport - 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. liliom/passport

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

liliom/passport
===============

Fork of Laravel Passport provides OAuth2 server support to Laravel, with added support for custom database connection.

v3.0.1(8y ago)415MITPHPPHP &gt;=5.6.4

Since Aug 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/multicaret/laravel-passport)[ Packagist](https://packagist.org/packages/liliom/passport)[ RSS](/packages/liliom-passport/feed)WikiDiscussions 3.0 Synced 2d ago

READMEChangelogDependencies (16)Versions (44)Used By (0)

[![](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.

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

[](#installation)

```
composer require liliom/passport 3.0.x-dev

```

Custom Database Connection
--------------------------

[](#custom-database-connection)

By default, Passport will use the default connection name, but now you can use custom database connection for Passport by adding your connection name in `config/auth.php` (guards.api.connection)

```
....

'guards' => [
    ...

    'api' => [
        'driver' => 'passport',
        'provider' => 'users',
        'connection' => env('PASSPORT_CONNECTION'),
    ],
],

...
```

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

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 64% 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 ~8 days

Total

43

Last Release

3197d ago

Major Versions

v0.2.4 → v1.0.02016-08-23

v1.0.17 → v2.0.02017-01-24

2.0.x-dev → v3.0.02017-07-02

1.0.x-dev → v3.0.12017-08-04

### Community

Maintainers

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

---

Top Contributors

[![taylorotwell](https://avatars.githubusercontent.com/u/463230?v=4)](https://github.com/taylorotwell "taylorotwell (169 commits)")[![lucasmichot](https://avatars.githubusercontent.com/u/513603?v=4)](https://github.com/lucasmichot "lucasmichot (19 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (15 commits)")[![raftalks](https://avatars.githubusercontent.com/u/788192?v=4)](https://github.com/raftalks "raftalks (8 commits)")[![Hussam3bd](https://avatars.githubusercontent.com/u/8091592?v=4)](https://github.com/Hussam3bd "Hussam3bd (6 commits)")[![jbrooksuk](https://avatars.githubusercontent.com/u/246103?v=4)](https://github.com/jbrooksuk "jbrooksuk (4 commits)")[![ekoeryanto](https://avatars.githubusercontent.com/u/36023898?v=4)](https://github.com/ekoeryanto "ekoeryanto (3 commits)")[![Mechazawa](https://avatars.githubusercontent.com/u/1144171?v=4)](https://github.com/Mechazawa "Mechazawa (3 commits)")[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (3 commits)")[![halaei](https://avatars.githubusercontent.com/u/7089140?v=4)](https://github.com/halaei "halaei (3 commits)")[![livingos](https://avatars.githubusercontent.com/u/3140786?v=4)](https://github.com/livingos "livingos (3 commits)")[![alexbilbie](https://avatars.githubusercontent.com/u/77991?v=4)](https://github.com/alexbilbie "alexbilbie (2 commits)")[![baileylo](https://avatars.githubusercontent.com/u/145345?v=4)](https://github.com/baileylo "baileylo (2 commits)")[![bhosie](https://avatars.githubusercontent.com/u/346376?v=4)](https://github.com/bhosie "bhosie (2 commits)")[![gorog](https://avatars.githubusercontent.com/u/3756727?v=4)](https://github.com/gorog "gorog (2 commits)")[![jesseobrien](https://avatars.githubusercontent.com/u/865481?v=4)](https://github.com/jesseobrien "jesseobrien (2 commits)")[![patrickbrouwers](https://avatars.githubusercontent.com/u/7728097?v=4)](https://github.com/patrickbrouwers "patrickbrouwers (2 commits)")[![SebastianS90](https://avatars.githubusercontent.com/u/7740744?v=4)](https://github.com/SebastianS90 "SebastianS90 (2 commits)")[![TimWolla](https://avatars.githubusercontent.com/u/209270?v=4)](https://github.com/TimWolla "TimWolla (2 commits)")[![vigneshgurusamy](https://avatars.githubusercontent.com/u/6076800?v=4)](https://github.com/vigneshgurusamy "vigneshgurusamy (2 commits)")

---

Tags

laraveloauthpassport

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/liliom-passport/health.svg)

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

###  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

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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