PHPackages                             jasonroyle/li3\_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. jasonroyle/li3\_jwt

ActiveLithium-library

jasonroyle/li3\_jwt
===================

JSON Web Token Session Adapter for Lithium

0.0.2(11y ago)0331[3 PRs](https://github.com/jasonroyle/li3_jwt/pulls)MITPHPPHP &gt;=5.4.0

Since May 17Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (4)Used By (0)

JSON Web Token Session Adapter for Lithium
==========================================

[](#json-web-token-session-adapter-for-lithium)

Dependencies
------------

[](#dependencies)

- PHP &gt;= 5.4
- [firebase/php-jwt](https://github.com/firebase/php-jwt)

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

[](#installation)

### Composer

[](#composer)

```
composer require jasonroyle/li3_jwt

```

Enable the Libraries
--------------------

[](#enable-the-libraries)

Make the application aware of the libraries by adding the following to `app/config/bootstrap/libraries.php`.

```
/**
 * Add some plugins:
 */
Libraries::add('li3_jwt');

/**
 * Load composer libraries
 */
require_once(dirname(LITHIUM_APP_PATH) . '/vendor/autoload.php');
```

Configuration
-------------

[](#configuration)

Add the following configuration to `app/config/bootstrap/session.php` replacing `***SECRET***` with your secret string.

```
use lithium\storage\Session;

Session::config(['default' => [
	'adapter' => 'Token',
	'header' => 'Authorization',
	'prefix' => 'Bearer ',
	'strategies' => ['Jwt' => [
		'secret' => '***SECRET***'
	]]
]]);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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 ~0 days

Total

2

Last Release

4018d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64b3c78db28fb95fbb5efd49d1fba515113af69f602a3de6f22f08a96641d9fe?d=identicon)[jasonroyle](/maintainers/jasonroyle)

---

Top Contributors

[![jasonroyle](https://avatars.githubusercontent.com/u/439662?v=4)](https://github.com/jasonroyle "jasonroyle (23 commits)")

### Embed Badge

![Health badge](/badges/jasonroyle-li3-jwt/health.svg)

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

###  Alternatives

[juzaweb/cms

Juzaweb CMS is a Content Management System (CMS) developed based on Laravel Framework and web platform whose sole purpose is to make your development workflow simple again. Project develop by Juzaweb

187571.2k](/packages/juzaweb-cms)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)

PHPackages © 2026

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