A simple library to work with JSON Web Token and JSON Web Signature

Maintainers

Details

github.com/lcobucci/jwt

Source

Issues

Fund package maintenance!
lcobucci
Patreon

Installs: 48 554 503

Dependents: 493

Suggesters: 16

Security: 0

Stars: 5 798

Watchers: 130

Forks: 458

Open Issues: 7


README

⚠️ The documentation of the stable version is on branch 3.3. ⚠️

JWT

Gitter Total Downloads Latest Stable Version Unstable Version

Build Status Code Coverage

A simple library to work with JSON Web Token and JSON Web Signature based on the RFC 7519.

Installation

Package is available on Packagist, you can install it using Composer.

composer require lcobucci/jwt

Dependencies

  • PHP 5.6+ (v3.3) and PHP 7.4 (v4.x)
  • OpenSSL Extension

Basic usage

The documentation of the unstable version is available at https://lcobucci-jwt.readthedocs.io/en/latest/.

The documentation of the stable version is on branch 3.3.

Supported by Auth0 auth0

If you want to add secure token based authentication to your PHP projects, feel free to check out Auth0's PHP SDK and free plan at auth0.com/developers.