A simple library to work with JSON Web Token and JSON Web Signature based on the RFC 7519.
Package is available on Packagist, you can install it using Composer.
composer require lcobucci/jwt
- PHP 5.5+ (v3.2) and PHP 7.1 (v4.x)
- OpenSSL Extension
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.
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.