PHPackages                             jerryhopper/easy-jwt-php - 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. jerryhopper/easy-jwt-php

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

jerryhopper/easy-jwt-php
========================

easy jwt decoder using .well-known service discovery

0.0.7(5y ago)171MITPHPPHP ^7.2CI failing

Since Sep 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jerryhopper/easy-jwt-php)[ Packagist](https://packagist.org/packages/jerryhopper/easy-jwt-php)[ Docs](https://github.com/jerryhopper/easy-jwt-php)[ RSS](/packages/jerryhopper-easy-jwt-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (4)Versions (8)Used By (0)

[![Build Status](https://camo.githubusercontent.com/434a603d06473da3495961e3768c534f629a18c69f3a1cc95c98189eb25c6231/68747470733a2f2f7472617669732d63692e636f6d2f6a65727279686f707065722f656173792d6a77742d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/jerryhopper/easy-jwt-php?branch=master)

easy-jwt-php
============

[](#easy-jwt-php)

Absurdly simple jwt decoder/verifier using .well-known service discovery oauth/openid spec.

.

Installation
============

[](#installation)

```
composer require jerryhopper/service-discovery-php

```

.

Usage
-----

[](#usage)

$token = the obtained JWT token.

$discoveryUrl = the location of the openid discovery information.

(Example:  )

```
use JerryHopper\EasyJwt;

$jwtPayloadData = new Decode($token,$discoveryUrl);

```

The result is either a Exception, or the decoded JWT object.

.

Advanced usage
--------------

[](#advanced-usage)

$issuer = false; // Issuer check. False or String.

$audience = false; // Audience check. False or String.

```
use JerryHopper\EasyJwt;

$jwtPayloadData = new Decode($token,$discoveryUrl,$audience,$issuer);

```

.

This library is for PHP7.2 ++
-----------------------------

[](#this-library-is-for--php72-)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Recently: every ~108 days

Total

6

Last Release

1967d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f515bf96de1e2e9bb77ece0549056f595b76a55a6707312b0eb2854ba17edca?d=identicon)[jerryhopper](/maintainers/jerryhopper)

---

Top Contributors

[![jerryhopper](https://avatars.githubusercontent.com/u/1160857?v=4)](https://github.com/jerryhopper "jerryhopper (42 commits)")

---

Tags

jwtoauth2service discoveryOpenIdservicediscovery

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jerryhopper-easy-jwt-php/health.svg)

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

###  Alternatives

[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

40820.2M68](/packages/auth0-auth0-php)[auth0/login

Auth0 Laravel SDK. Straight-forward and tested methods for implementing authentication, and accessing Auth0's Management API endpoints.

2745.0M3](/packages/auth0-login)[auth0/symfony

Symfony SDK for Auth0 Authentication and Management APIs.

128738.1k](/packages/auth0-symfony)[league/openid-connect-claims

An OpenID Connect ID claims set implementation

15242.9k2](/packages/league-openid-connect-claims)[ronvanderheijden/openid-connect

OpenID Connect support to the PHP League's OAuth2 Server. Compatible with Laravel Passport.

61755.5k](/packages/ronvanderheijden-openid-connect)[simplesamlphp/simplesamlphp-module-oidc

A SimpleSAMLphp module adding support for the OpenID Connect protocol

5016.9k1](/packages/simplesamlphp-simplesamlphp-module-oidc)

PHPackages © 2026

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