PHPackages                             jsor/stack-jwt - 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. jsor/stack-jwt

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

jsor/stack-jwt
==============

JSON Web Token (JWT) Stack middleware.

v2.2.0(10y ago)74.7k1MITPHPPHP &gt;=5.4.0

Since Oct 16Pushed 10y ago1 watchersCompare

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

READMEChangelog (4)DependenciesVersions (6)Used By (0)

Stack/JWT
=========

[](#stackjwt)

[![Build Status](https://camo.githubusercontent.com/e4ea0a4d5f879191e00d9cb9e7431a105bd9bb7283921751f757dc63d74d37ae/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6a736f722f737461636b2d6a77742e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/jsor/stack-jwt)[![Coverage Status](https://camo.githubusercontent.com/c3f459bdd6a8f4a727b144a018d3bf1dce11debd9f2483e748052d40bd66d670/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6a736f722f737461636b2d6a77742e7376673f7374796c653d666c6174)](https://coveralls.io/r/jsor/stack-jwt)

[JSON Web Token](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token) (JWT) middleware for [Stack](http://stackphp.com) following the [STACK-2 Authentication](http://stackphp.com/specs/STACK-2/) conventions.

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

[](#installation)

Install the latest version with [composer](http://getcomposer.org):

```
composer require jsor/stack-jwt
```

Check the [packagist page](https://packagist.org/packages/jsor/stack-jwt) for all available versions.

License
-------

[](#license)

Copyright (c) 2014-2016 Jan Sorgalla. Released under the [MIT](https://github.com/jsor/stack-jwt/blob/master/LICENSE) license.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 97.4% 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 ~113 days

Total

5

Last Release

3824d ago

Major Versions

1.0.x-dev → v2.0.02015-09-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/5de14776bbddf901c6e24d35829fe66fe997c303d53aca83cc7d1a90bb0b7110?d=identicon)[jsor](/maintainers/jsor)

---

Top Contributors

[![jsor](https://avatars.githubusercontent.com/u/55574?v=4)](https://github.com/jsor "jsor (38 commits)")[![adammbalogh](https://avatars.githubusercontent.com/u/645053?v=4)](https://github.com/adammbalogh "adammbalogh (1 commits)")

---

Tags

jwtrestAuthenticationstackStackPHPstack-2

### Embed Badge

![Health badge](/badges/jsor-stack-jwt/health.svg)

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

###  Alternatives

[lexik/jwt-authentication-bundle

This bundle provides JWT authentication for your Symfony REST API

2.6k62.6M257](/packages/lexik-jwt-authentication-bundle)[shopify/shopify-api

Shopify API Library for PHP

4655.4M23](/packages/shopify-shopify-api)

PHPackages © 2026

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