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

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

sydante/jwt-auth
================

JSON Web Token Authentication for Laravel and Lumen

v1.0.3(4y ago)087MITPHPPHP ^7.2|^8.0

Since Sep 10Pushed 4y agoCompare

[ Source](https://github.com/Sy-Dante/jwt-auth)[ Packagist](https://packagist.org/packages/sydante/jwt-auth)[ Docs](https://github.com/tymondesigns/jwt-auth)[ Patreon](https://www.patreon.com/seantymon)[ RSS](/packages/sydante-jwt-auth/feed)WikiDiscussions develop Synced today

READMEChangelog (1)Dependencies (13)Versions (52)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)

[![PHPUnit](https://github.com/tymondesigns/jwt-auth/workflows/PHPUnit%20tests/badge.svg)](https://travis-ci.org/tymondesigns/jwt-auth)[![Codecov branch](https://camo.githubusercontent.com/56b6e6423af392d2c4a7c314aef6bdca6852da2b671d959ab905e64264aa2d74/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f74796d6f6e64657369676e732f6a77742d617574682f646576656c6f702e7376673f7374796c653d666c61742d737175617265266c6f676f3d636f6465636f76)](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/e9a85595c7130ba70ece3c52edda2f7cfe4d8c5e2153c28415a8fc8903b403d2/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74796d6f6e2f6a77742d617574682e7376673f7374796c653d666c61742d737175617265266c6f676f3d636f6d706f736572)](https://packagist.org/packages/tymon/jwt-auth)[![Latest Dev Version](https://camo.githubusercontent.com/16042ab0a20d878ea098bb8c0fb96f3259432d9e09818f5b02d4e372ea753fb6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f74796d6f6e2f6a77742d617574682e7376673f7374796c653d666c61742d737175617265266c6f676f3d636f6d706f736572)](https://packagist.org/packages/tymon/jwt-auth#dev-develop)[![Monthly Downloads](https://camo.githubusercontent.com/df4f54a712888624d6955099225efb1643ca0c53a9d0ee2513fc7694fea2b349/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f74796d6f6e2f6a77742d617574682e7376673f7374796c653d666c61742d737175617265266c6f676f3d636f6d706f736572)](https://packagist.org/packages/tymon/jwt-auth)

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

[](#documentation)

Documentation for `1.*` [here](http://jwt-auth.com)

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

[![](https://user-images.githubusercontent.com/1801923/57975478-a7a88900-79c1-11e9-924b-d7fa742f743b.png)](https://www.patreon.com/bePatron?u=11815122)

---

### 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/developers](https://auth0.com/developers?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)

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

###  Health Score

35

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 82.2% 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 ~51 days

Recently: every ~126 days

Total

50

Last Release

1705d 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.5.1 → 2.0.x-dev2020-03-03

PHP version history (6 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

1.0.0-rc.5PHP ^5.5.9|^7.0

2.0.x-devPHP ^7.4

v1.0.3PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7abdb78760a63b2dec954f02764ffd23a5a2f7f3d5c4b661f3d176a6f83db578?d=identicon)[Sy-Dante](/maintainers/Sy-Dante)

---

Top Contributors

[![tymondesigns](https://avatars.githubusercontent.com/u/1801923?v=4)](https://github.com/tymondesigns "tymondesigns (1180 commits)")[![lucasmichot](https://avatars.githubusercontent.com/u/513603?v=4)](https://github.com/lucasmichot "lucasmichot (165 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)")[![tdhsmith](https://avatars.githubusercontent.com/u/1791252?v=4)](https://github.com/tdhsmith "tdhsmith (9 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)")[![BenceSzalai](https://avatars.githubusercontent.com/u/14061916?v=4)](https://github.com/BenceSzalai "BenceSzalai (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)")[![ashleigh-hopkins](https://avatars.githubusercontent.com/u/3603553?v=4)](https://github.com/ashleigh-hopkins "ashleigh-hopkins (2 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (2 commits)")[![GabrielDeveloper](https://avatars.githubusercontent.com/u/4581068?v=4)](https://github.com/GabrielDeveloper "GabrielDeveloper (2 commits)")[![isaackearl](https://avatars.githubusercontent.com/u/9354830?v=4)](https://github.com/isaackearl "isaackearl (2 commits)")[![jonsa](https://avatars.githubusercontent.com/u/807381?v=4)](https://github.com/jonsa "jonsa (2 commits)")[![kidtronnix](https://avatars.githubusercontent.com/u/4520386?v=4)](https://github.com/kidtronnix "kidtronnix (2 commits)")[![mfn](https://avatars.githubusercontent.com/u/87493?v=4)](https://github.com/mfn "mfn (2 commits)")[![thmsu](https://avatars.githubusercontent.com/u/67536769?v=4)](https://github.com/thmsu "thmsu (2 commits)")[![phroggyy](https://avatars.githubusercontent.com/u/7256451?v=4)](https://github.com/phroggyy "phroggyy (1 commits)")

---

Tags

jwtlaravelauthAuthenticationJSON Web Token

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8299.4M44](/packages/php-open-source-saver-jwt-auth)

PHPackages © 2026

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