endeavors / openjwt
Validate an id token. Shoud conform to ID Token Validation spec at openid.net.
Installs: 306
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/endeavors/openjwt
Requires (Dev)
- firebase/php-jwt: ~5.0
- phpunit/phpunit: ~6.0
- symfony/var-dumper: ^3.4
This package is not auto-updated.
Last update: 2025-09-30 20:34:33 UTC
README
Inspect or verify a JSON Web Token using various methods.
Installation
This library requires the use of Composer
- Require this package with composer
composer require endeavors/openjwt
Inspecting
There are multiple ways to validate and inspect a JWT.
Inspecting without any validation:
use Endeavors\OpenJWT\Inspect; // ... $jwt = Inspect::jwt('yourjwt');
Inspecting validating the issuer:
use Endeavors\OpenJWT\Inspect; // ... $jwt = Inspect::issuer('yourjwt', 'yourissuer');