/jwt

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

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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

JWT

Gitter Total Downloads Latest Stable Version Unstable Version

Branch master Build Status Scrutinizer Code Quality Code Coverage SensioLabsInsight

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.5+ (v3.2) and PHP 7.1 (v4.x)
  • OpenSSL Extension

Basic usage

Important: our next major release (v4) is currently not documented (that will be addressed on #37).

The documentation of the stable version is on branch 3.2.

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/overview.