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
The documentation is available at https://lcobucci-jwt.readthedocs.io/en/latest/.
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.