Download the PHP package laravel-shine/jwt without Composer
On this page you can find all versions of the php package laravel-shine/jwt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package jwt
Simple-PHP-JWT
Simple JSON Web Token for PHP
Requirements
- PHP > 7.0
- OpenSSL
Capabilities
Function | Algorithm |
---|---|
✅ Sign | ✅ HS256 |
✅ Verify | ✅ HS384 |
❎ iss check |
✅ HS512 |
❎ sub check |
✅ RS256 |
❎ aud check |
✅ RS384 |
❎ exp check |
✅ RS512 |
❎ nbf check |
|
❎ iat check |
|
❎ jti check |
Basic Usage
encode(array payload, string $key, string $algorithm)
decode(string $token, string $key)
Exceptions
decode()
Code | Reason |
---|---|
1 | Invalid token format |
2 | Invalid header encoding |
3 | Invalid token header |
4 | Algorithm not supported |
5 | Invalid payload encoding |
6 | Invalid signature |
All versions of jwt with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.0 || ^8.0
The package laravel-shine/jwt contains the following files
Loading the files please wait ....