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

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

myhayo/jwt-auth
===============

JSON Web Token Authentication for Laravel and Lumen

2.2.1(5mo ago)06MITPHPPHP ^8.0

Since Sep 10Pushed 5mo agoCompare

[ Source](https://github.com/myhayo/jwt-auth)[ Packagist](https://packagist.org/packages/myhayo/jwt-auth)[ Docs](https://github.com/tymondesigns/jwt-auth)[ Patreon](https://www.patreon.com/seantymon)[ RSS](/packages/myhayo-jwt-auth/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (1)Dependencies (11)Versions (59)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://github.com/tymondesigns/jwt-auth/actions)[![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)

[jwt-auth.com](https://jwt-auth.com)

---

Security
--------

[](#security)

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

License
-------

[](#license)

The MIT License (MIT)

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance70

Regular maintenance activity

Popularity5

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 82.6% 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 ~75 days

Recently: every ~158 days

Total

55

Last Release

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

1.0.2 → 2.0.02023-02-16

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

2.0.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25251620?v=4)[EthanLau](/maintainers/EthanLau)[@ethanlau](https://github.com/ethanlau)

---

Top Contributors

[![tymondesigns](https://avatars.githubusercontent.com/u/1801923?v=4)](https://github.com/tymondesigns "tymondesigns (1199 commits)")[![lucasmichot](https://avatars.githubusercontent.com/u/513603?v=4)](https://github.com/lucasmichot "lucasmichot (165 commits)")[![seanclowdy](https://avatars.githubusercontent.com/u/7819110?v=4)](https://github.com/seanclowdy "seanclowdy (11 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (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)")[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (5 commits)")[![tracking](https://avatars.githubusercontent.com/u/5705827?v=4)](https://github.com/tracking "tracking (4 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)")[![pulkitjalan](https://avatars.githubusercontent.com/u/4124930?v=4)](https://github.com/pulkitjalan "pulkitjalan (1 commits)")

---

Tags

jwtlaravelauthAuthenticationJSON Web Token

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

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

JSON Web Token Authentication for Laravel and Lumen

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

PHPackages © 2026

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