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

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

edsamonte/passport
==================

Fork of official Laravel Passport with support for string-based Client IDs

v4.0.2(8y ago)013MITPHPPHP &gt;=5.6.4

Since Aug 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/edsamonte/passport)[ Packagist](https://packagist.org/packages/edsamonte/passport)[ RSS](/packages/edsamonte-passport/feed)WikiDiscussions 4.0 Synced 3d ago

READMEChangelog (1)Dependencies (16)Versions (53)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)

> This is a fork of the official Laravel Passport to support string-based OAuth2 Client IDs

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

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

[](#installation)

```
composer require edsamonte/passport 4.0.x-dev

```

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

[](#official-documentation)

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

Custom Client ID generator
--------------------------

[](#custom-client-id-generator)

Code example:

```
Passport::setClientIdGenerator(function($clientName){
    return str_slug($clientName) . "-" . bin2hex(random_bytes(2));
});
```

This example will generate something like `mobile-app-client-f8`

This is helpful if you want to generate fixed-length Client IDs and to discourage brute-force Client ID guess attacks.

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 61.3% 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

50

Last Release

3142d 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

3.0.x-dev → v4.0.02017-08-28

### Community

Maintainers

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

---

Top Contributors

[![taylorotwell](https://avatars.githubusercontent.com/u/463230?v=4)](https://github.com/taylorotwell "taylorotwell (185 commits)")[![lucasmichot](https://avatars.githubusercontent.com/u/513603?v=4)](https://github.com/lucasmichot "lucasmichot (19 commits)")[![edmandiesamonte](https://avatars.githubusercontent.com/u/11081512?v=4)](https://github.com/edmandiesamonte "edmandiesamonte (16 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (15 commits)")[![ravanscafi](https://avatars.githubusercontent.com/u/6104262?v=4)](https://github.com/ravanscafi "ravanscafi (12 commits)")[![raftalks](https://avatars.githubusercontent.com/u/788192?v=4)](https://github.com/raftalks "raftalks (8 commits)")[![jbrooksuk](https://avatars.githubusercontent.com/u/246103?v=4)](https://github.com/jbrooksuk "jbrooksuk (4 commits)")[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (3 commits)")[![ekoeryanto](https://avatars.githubusercontent.com/u/36023898?v=4)](https://github.com/ekoeryanto "ekoeryanto (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)")[![Mechazawa](https://avatars.githubusercontent.com/u/1144171?v=4)](https://github.com/Mechazawa "Mechazawa (3 commits)")[![gorog](https://avatars.githubusercontent.com/u/3756727?v=4)](https://github.com/gorog "gorog (2 commits)")[![vigneshgurusamy](https://avatars.githubusercontent.com/u/6076800?v=4)](https://github.com/vigneshgurusamy "vigneshgurusamy (2 commits)")[![bhosie](https://avatars.githubusercontent.com/u/346376?v=4)](https://github.com/bhosie "bhosie (2 commits)")[![patrickbrouwers](https://avatars.githubusercontent.com/u/7728097?v=4)](https://github.com/patrickbrouwers "patrickbrouwers (2 commits)")[![baileylo](https://avatars.githubusercontent.com/u/145345?v=4)](https://github.com/baileylo "baileylo (2 commits)")[![SebastianS90](https://avatars.githubusercontent.com/u/7740744?v=4)](https://github.com/SebastianS90 "SebastianS90 (2 commits)")[![antimech](https://avatars.githubusercontent.com/u/13885653?v=4)](https://github.com/antimech "antimech (2 commits)")[![alexbilbie](https://avatars.githubusercontent.com/u/77991?v=4)](https://github.com/alexbilbie "alexbilbie (2 commits)")

---

Tags

laraveloauthpassport

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/edsamonte-passport/health.svg)](https://phpackages.com/packages/edsamonte-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)
