PHPackages                             yidejia/jwt-auth - 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. yidejia/jwt-auth

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

yidejia/jwt-auth
================

JSON Web Token Authentication for Laravel and Lumen

v4.4(7y ago)06.3k↓100%MITPHPPHP ^5.5.9 || ^7.0

Since Sep 10Pushed 6y ago5 watchersCompare

[ Source](https://github.com/yidejia/jwt-auth)[ Packagist](https://packagist.org/packages/yidejia/jwt-auth)[ Docs](https://github.com/yidejia/jwt-auth)[ RSS](/packages/yidejia-jwt-auth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (13)Versions (49)Used By (0)

[![jwt-auth-banner](https://cloud.githubusercontent.com/assets/1801923/9915273/119b9350-5cae-11e5-850b-c941cac60b32.png)](https://cloud.githubusercontent.com/assets/1801923/9915273/119b9350-5cae-11e5-850b-c941cac60b32.png)

[![Build Status](https://camo.githubusercontent.com/4b1cbc2f73d412878e5784892f890f3a5d078f14f914e56114958c9f5572e8de/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f74796d6f6e64657369676e732f6a77742d617574682f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/tymondesigns/jwt-auth)[![Codecov branch](https://camo.githubusercontent.com/b0b943d8e6fb243d5a909de1af337a63d2edb85c0ca1dda223ef5fd1aed6d1c5/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f74796d6f6e64657369676e732f6a77742d617574682f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/tymondesigns/jwt-auth)[![StyleCI](https://camo.githubusercontent.com/5863a40feba936dbde42870ecfca0ba3991b605e6fd6ae8fb5ac5eda410c56ed/68747470733a2f2f7374796c6563692e696f2f7265706f732f32333638303637382f736869656c643f7374796c653d666c61742d737175617265)](https://styleci.io/repos/23680678)[![Latest Version](https://camo.githubusercontent.com/680df018f45b79b4aac52fc8daa550eed9e5811c8a044e4fd01cfb4c86c2877d/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74796d6f6e2f6a77742d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tymon/jwt-auth)[![Latest Dev Version](https://camo.githubusercontent.com/8c035d26d93c4b2ea91f2a8ab66f41ddbbfdde12d3f235a2d45a8cb047933197/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f74796d6f6e2f6a77742d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tymon/jwt-auth#dev-develop)[![Monthly Downloads](https://camo.githubusercontent.com/ad6d68d30c1127f250579ef61c62904cabf8a6c32857bb1b023f3ad5f7719058/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f74796d6f6e2f6a77742d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tymon/jwt-auth)[![Dependency Status](https://camo.githubusercontent.com/65a7b2cf15bc08c8d3c0bbe49c94d12ac9c4f465b77af776e24012fb7d1f8338/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f74796d6f6e3a6a77742d617574682f6465762d646576656c6f702f62616467653f7374796c653d666c61742d737175617265)](https://www.versioneye.com/php/tymon:jwt-auth/dev-develop)[![PHP-Eye](https://camo.githubusercontent.com/de76fcb4d7531e5c3931a10c62104d445a73355daf70f2b9548c0515451eedcd/68747470733a2f2f7068702d6579652e636f6d2f62616467652f74796d6f6e2f6a77742d617574682f7465737465642e7376673f7374796c653d666c61742d737175617265)](https://php-eye.com/package/tymon/jwt-auth)

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

[](#documentation)

For version `0.5.*` See the [WIKI](https://github.com/tymondesigns/jwt-auth/wiki) for documentation.

Documentation for `1.0.0` is coming soon, but there is an unfinished guide [here](http://jwt-auth.readthedocs.io)

---

### Supported by Auth0 [![](https://user-images.githubusercontent.com/1801923/31792116-d4fca9ec-b512-11e7-92eb-56e8d3df8e70.png)](https://user-images.githubusercontent.com/1801923/31792116-d4fca9ec-b512-11e7-92eb-56e8d3df8e70.png)

[](#supported-by-auth0-)

If you want to easily add secure authentication to Laravel apps, feel free to check out Auth0's SDK and free plan at [auth0.com/overview](https://auth0.com/overview?utm_source=GHsponsor&utm_medium=GHsponsor&utm_campaign=jwt-auth&utm_content=auth)

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT)

[![Beerpay](https://camo.githubusercontent.com/d7444f64299ef9dee2b82b1bb6bbecee8143e1a7ea980a55c467b7a3c551a7d8/68747470733a2f2f626565727061792e696f2f74796d6f6e64657369676e732f6a77742d617574682f62616467652e737667)](https://beerpay.io/tymondesigns/jwt-auth)

[![SensioLabs Insight](https://camo.githubusercontent.com/0e59506efed491d43adc1d4944eefe935bdc67233f063cce2dc595ca1cb38e87/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f62613630303038322d373836392d346561382d623837372d3062663661383664343938382f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/ba600082-7869-4ea8-b877-0bf6a86d4988)

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 81.9% 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 ~36 days

Recently: every ~42 days

Total

47

Last Release

2573d ago

Major Versions

0.5.9 → 1.0.0-alpha12016-03-02

0.5.10 → 1.0.0-beta.22017-01-30

0.5.12 → 1.0.0-rc.12017-08-30

1.0.0-rc.3 → 2.0.x-dev2018-10-23

2.0.x-dev → V4.02018-11-04

PHP version history (4 changes)0.1.0PHP &gt;=5.4.0

1.0.0-alpha1PHP &gt;=5.5.9

1.0.0-alpha.2PHP ^5.5.9 || ^7.0

2.0.x-devPHP ~7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/4135237a9cc3c4961c5432283904d757a625efc9855c8710e9ca9f93cc9a93c5?d=identicon)[jzweb](/maintainers/jzweb)

---

Top Contributors

[![tymondesigns](https://avatars.githubusercontent.com/u/1801923?v=4)](https://github.com/tymondesigns "tymondesigns (1183 commits)")[![lucasmichot](https://avatars.githubusercontent.com/u/513603?v=4)](https://github.com/lucasmichot "lucasmichot (168 commits)")[![tdhsmith](https://avatars.githubusercontent.com/u/1791252?v=4)](https://github.com/tdhsmith "tdhsmith (17 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (11 commits)")[![seanclowdy](https://avatars.githubusercontent.com/u/7819110?v=4)](https://github.com/seanclowdy "seanclowdy (11 commits)")[![crynobone](https://avatars.githubusercontent.com/u/172966?v=4)](https://github.com/crynobone "crynobone (8 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (7 commits)")[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (5 commits)")[![gpasztor87](https://avatars.githubusercontent.com/u/3843377?v=4)](https://github.com/gpasztor87 "gpasztor87 (3 commits)")[![overtrue](https://avatars.githubusercontent.com/u/1472352?v=4)](https://github.com/overtrue "overtrue (3 commits)")[![kidtronnix](https://avatars.githubusercontent.com/u/4520386?v=4)](https://github.com/kidtronnix "kidtronnix (2 commits)")[![GabrielDeveloper](https://avatars.githubusercontent.com/u/4581068?v=4)](https://github.com/GabrielDeveloper "GabrielDeveloper (2 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (2 commits)")[![jonsa](https://avatars.githubusercontent.com/u/807381?v=4)](https://github.com/jonsa "jonsa (2 commits)")[![pjona](https://avatars.githubusercontent.com/u/170732?v=4)](https://github.com/pjona "pjona (2 commits)")[![thmsu](https://avatars.githubusercontent.com/u/67536769?v=4)](https://github.com/thmsu "thmsu (2 commits)")[![isaackearl](https://avatars.githubusercontent.com/u/9354830?v=4)](https://github.com/isaackearl "isaackearl (2 commits)")[![ashleigh-hopkins](https://avatars.githubusercontent.com/u/3603553?v=4)](https://github.com/ashleigh-hopkins "ashleigh-hopkins (2 commits)")[![linaspasv](https://avatars.githubusercontent.com/u/1407067?v=4)](https://github.com/linaspasv "linaspasv (1 commits)")[![antonioreyna](https://avatars.githubusercontent.com/u/147514?v=4)](https://github.com/antonioreyna "antonioreyna (1 commits)")

---

Tags

jwtlaravelauthAuthenticationJSON Web Token

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yidejia-jwt-auth/health.svg)

```
[![Health](https://phpackages.com/badges/yidejia-jwt-auth/health.svg)](https://phpackages.com/packages/yidejia-jwt-auth)
```

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M344](/packages/tymon-jwt-auth)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M52](/packages/php-open-source-saver-jwt-auth)

PHPackages © 2026

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