PHPackages                             hubertprein/craft-jwtmanager - 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. hubertprein/craft-jwtmanager

ActiveCraft-plugin[Authentication &amp; Authorization](/categories/authentication)

hubertprein/craft-jwtmanager
============================

Manage JWTs for users which can be used to login.

1.0.2(7y ago)61403PHP

Since May 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/hubertprein/Craft-JwtManager)[ Packagist](https://packagist.org/packages/hubertprein/craft-jwtmanager)[ RSS](/packages/hubertprein-craft-jwtmanager/feed)WikiDiscussions v2 Synced 1w ago

READMEChangelog (3)Dependencies (3)Versions (6)Used By (0)

Craft-JwtManager
================

[](#craft-jwtmanager)

*Manage JWTs for users which can be used to login.*

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0-RC1 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require hubertprein/craft-jwtmanager

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for JWT Manager.

Functionality
-------------

[](#functionality)

Use JWT manager to enable auto login features for your websites and mobile apps using JWTs.

You can also use it as a sort of *framework* to manually call the JWT and auto login features.

When do you use it? Your mobile apps requests data which needs the user to login with every request that they do. While you should never send the username and password everytime, one should use a JWT. Bonus to it is that logging in using a JWT, is much faster.

Available actions
-----------------

[](#available-actions)

- Login returns JSON with a `token`, `refreshToken` and `user` (filled with user information of the logged in user). You can send credentials here filled with `username` and `password`. You can send a JWT with a `Authorization Bearer` header. `https://www.yourdomainhere.nl/actions/jwt-manager/auth/login`
- `https://www.yourdomainhere.nl/actions/jwt-manager/auth/logout`
- Send a refresh token in a `Authorization Bearer` header. Which will return a new JWT based on the refresh token. `https://www.yourdomainhere.nl/actions/jwt-manager/jwts/use-refresh`

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 58.3% 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 ~65 days

Total

5

Last Release

2654d ago

Major Versions

1.0.2 → v2.x-dev2019-02-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae37e8bdbd8456b5140fe0bec73129ffde4751deb7f98c5bafb1608e988759b5?d=identicon)[hubertprein](/maintainers/hubertprein)

---

Top Contributors

[![internetztube](https://avatars.githubusercontent.com/u/6382364?v=4)](https://github.com/internetztube "internetztube (7 commits)")[![hubertprein](https://avatars.githubusercontent.com/u/6221899?v=4)](https://github.com/hubertprein "hubertprein (5 commits)")

### Embed Badge

![Health badge](/badges/hubertprein-craft-jwtmanager/health.svg)

```
[![Health](https://phpackages.com/badges/hubertprein-craft-jwtmanager/health.svg)](https://phpackages.com/packages/hubertprein-craft-jwtmanager)
```

###  Alternatives

[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2509.6M48](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

Keycloak OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2275.9M27](/packages/stevenmaguire-oauth2-keycloak)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)[patrickbussmann/oauth2-apple

Sign in with Apple OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1132.5M6](/packages/patrickbussmann-oauth2-apple)[socialiteproviders/microsoft

Microsoft OAuth2 Provider for Laravel Socialite

326.1M13](/packages/socialiteproviders-microsoft)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

153.2M7](/packages/microsoft-kiota-authentication-phpleague)

PHPackages © 2026

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