mslwk / jwt
JSON Web Token handling library
1.0.2
2018-05-15 16:40 UTC
Requires
- php: ^7.0.0
Requires (Dev)
- phpunit/phpunit: ^6.0.0
This package is auto-updated.
Last update: 2024-10-13 00:36:20 UTC
README
JSON Web Token encoder/decoder
The library provides dead easy way of creating and verifing JSON Web Tokens.
Installation
Use composer to include the library in your project.
composer require mslwk/jwt
Usage
Generating a token
Include the Generator class:
Generate a token:
Verifing a token
Include the Generator class:
Generate a token: