PHPackages                             acelan/simple-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. acelan/simple-jwt

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

acelan/simple-jwt
=================

Json Web Token for PHP

v1.0.2(5y ago)09PHPPHP &gt;=7.3

Since Apr 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Wudavio/SimpleJWT)[ Packagist](https://packagist.org/packages/acelan/simple-jwt)[ RSS](/packages/acelan-simple-jwt/feed)WikiDiscussions main Synced 5d ago

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

SimpleJWT
=========

[](#simplejwt)

Json Web Token for PHP

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

[](#installation)

```
composer require acelan/simple-jwt
```

Usage
-----

[](#usage)

```
use AceLan\JWT\JsonWebToken;

$payload = array('sub' => 'example@gmail.com', 'infoData' => ['name' => 'David']);

$token = JWTAuthLibrary::getToken($payload);

print_r($token);

$getPayload = JWTAuthLibrary::verifyToken($token['accessToken']);

$getRrfreshPayload = JWTAuthLibrary::verifyRefreshToken($token['accessToken'], $token['refreshToken']);

echo "";
var_dump($getPayload);
echo "";
var_dump($getRrfreshPayload);
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

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

Total

3

Last Release

1845d ago

PHP version history (2 changes)v1.0PHP &gt;=7.2

v1.0.1PHP &gt;=7.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/71646?v=4)[AceLan Kao](/maintainers/AceLan)[@acelan](https://github.com/acelan)

---

Top Contributors

[![Wudavio](https://avatars.githubusercontent.com/u/40749259?v=4)](https://github.com/Wudavio "Wudavio (13 commits)")

---

Tags

phpjwt

### Embed Badge

![Health badge](/badges/acelan-simple-jwt/health.svg)

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

###  Alternatives

[griffinledingham/php-apple-signin

A simple library to decode and parse Apple Sign In client tokens.

2011.9M1](/packages/griffinledingham-php-apple-signin)[hyperf-ext/jwt

The Hyperf JWT package.

53134.9k2](/packages/hyperf-ext-jwt)[maicol07/flarum-ext-sso

SSO for Flarum

468.3k](/packages/maicol07-flarum-ext-sso)

PHPackages © 2026

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