PHPackages                             alexpts/php-jwt-middleware - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. alexpts/php-jwt-middleware

ActiveLibrary[HTTP &amp; Networking](/categories/http)

alexpts/php-jwt-middleware
==========================

Check jwt token on request

0.0.2(7y ago)010MITPHPPHP ~7.2

Since May 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/alexpts/php-jwt-middleware)[ Packagist](https://packagist.org/packages/alexpts/php-jwt-middleware)[ Docs](https://github.com/alexpts/php-jwt-middleware)[ RSS](/packages/alexpts-php-jwt-middleware/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

php-jwt-middleware
==================

[](#php-jwt-middleware)

[![Build Status](https://camo.githubusercontent.com/b6cbf4294e261bd1b00ac9bf482b6488dfcd3d90c0d5d563d5e11e3966725694/68747470733a2f2f7472617669732d63692e6f72672f616c65787074732f7068702d6a77742d6d6964646c65776172652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/alexpts/php-jwt-middleware)[![Code Coverage](https://camo.githubusercontent.com/89708c57cbe2fc72090cce0a17c81e189a187371adf1411e940a8841842a89bf/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65787074732f7068702d6a77742d6d6964646c65776172652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alexpts/php-jwt-middleware/?branch=master)[![Code Climate](https://camo.githubusercontent.com/b8d6edee43a0edee8c7ed211dc1b3d516c0135933f83f69dc58ca35c428d8c6c/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f616c65787074732f7068702d6a77742d6d6964646c65776172652f6261646765732f6770612e737667)](https://codeclimate.com/github/alexpts/php-jwt-middleware)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3d6afd6a8c193cb01c76b8d22b07f343feea132dc9164b6e39ba4c95274557bd/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65787074732f7068702d6a77742d6d6964646c65776172652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alexpts/php-jwt-middleware/?branch=master)

#### Install

[](#install)

`composer require alexpts/php-jwt-middleware`

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~3 days

Total

2

Last Release

2909d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/31106536118e11bf9d0c9d7f467db5b534efa9c46ee76680b308f0c39d9a798c?d=identicon)[alexpts](/maintainers/alexpts)

---

Top Contributors

[![alexpts](https://avatars.githubusercontent.com/u/1306916?v=4)](https://github.com/alexpts "alexpts (11 commits)")

---

Tags

psr-7jwtmiddlewareauthpsr-15

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alexpts-php-jwt-middleware/health.svg)

```
[![Health](https://phpackages.com/badges/alexpts-php-jwt-middleware/health.svg)](https://phpackages.com/packages/alexpts-php-jwt-middleware)
```

###  Alternatives

[tuupola/slim-basic-auth

PSR-7 and PSR-15 HTTP Basic Authentication Middleware

4442.0M25](/packages/tuupola-slim-basic-auth)[jimtools/jwt-auth

PSR-15 JWT Authentication middleware, A replacement for tuupola/slim-jwt-auth

20142.3k3](/packages/jimtools-jwt-auth)[mezzio/mezzio

PSR-15 Middleware Microframework

3883.6M97](/packages/mezzio-mezzio)[relay/relay

A PSR-15 server request handler.

3302.1M85](/packages/relay-relay)[tuupola/cors-middleware

PSR-7 and PSR-15 CORS middleware

1331.8M24](/packages/tuupola-cors-middleware)[laminas/laminas-stratigility

PSR-7 middleware foundation for building and dispatching middleware pipelines

586.6M81](/packages/laminas-laminas-stratigility)

PHPackages © 2026

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