Download the PHP package fgsl/jwt without Composer
On this page you can find all versions of the php package fgsl/jwt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor fgsl
Package jwt
Short Description Fgsl JWT Handler
License AGPL-3.0-only
Homepage https://github.com/fgsl/jwt
Package jwt
Short Description Fgsl JWT Handler
License AGPL-3.0-only
Homepage https://github.com/fgsl/jwt
Keywords Authenticationjwt
Please rate this library. Is it a good library?
Informations about the package jwt
Fgsl JWT
For creating a JWT token, you must before create an instance of Fgsl\Jwt\Jwt. After, you call method getBearerToken. This method will store the username in the token as the sub attribute. Additional attributes can be sent in an array as the third argument.
For recovering the payload from a given token, call the static method getPayload.
You can see a use example below. You can run this test from JwtTest class using PHPUnit.
All versions of jwt with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package fgsl/jwt contains the following files
Loading the files please wait ...