| Package Data | |
|---|---|
| Maintainer Username: | vkoori |
| Maintainer Contact: | kooroshsafeashrafi@gmail.com (Koorosh SafeAshrafi) |
| Package Create Date: | 2023-03-23 |
| Package Last Update: | 2023-03-23 |
| Language: | PHP |
| License: | Unknown |
| Last Refreshed: | 2025-11-04 15:10:06 |
| Package Statistics | |
|---|---|
| Total Downloads: | 795 |
| Monthly Downloads: | 1 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
composer require vkoori/jwt
By using this library, in addition to the features of adhocore/jwt, you can also benefit from blacklist and refresh token.
You need to add the following to the env file:
JWT_BLACK_LIST=false
JWT_KEY=secret
JWT_ALGO=HS256
JWT_MAX_AGE=3600
JWT_LEEWAY=0
(new JWT)->encode(payload: [], header: []);
(new JWT)->decode(token: '', verify: true);
(new JWT)->refresh(token: '');
(new JWT)->expire(token: '');
| Powered By |
| ----------------------------------------------------------------------------------------------------------------------------- |