Skip to content

tuankiet1708/core-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Web Token Builder / Validator

About

It's for generating and validating Json Web Token (JWT) communicating with parties together. Features:

  • Simple
  • Easy to use
  • Dynamic configuration
  • Lightweight

Usage

First of all, you need install some dependencies, please run this command before using.

composer install

Then you can use it now. See an example in a folder named examples/.

  1. Build a token
(new Leo\JWT\JWT())->buildToken();
  1. Validate a token
(new Leo\JWT\JWT())->checkValid("<token_string>");

Contributing

You can contribute to this package by discovering bugs and opening issues.

Security Vulnerabilities

If you discover a security vulnerability within this project, please send an e-mail to Kiet Tran via tuankiet1708@gmail.com. All security vulnerabilities will be promptly addressed.

License

This is open-sourced software licensed under the MIT license.

About

JSON Web Token Builder / Validator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages