Download the PHP package georgechem/jwt-auth without Composer
On this page you can find all versions of the php package georgechem/jwt-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download georgechem/jwt-auth
More information about georgechem/jwt-auth
Files in georgechem/jwt-auth
Download georgechem/jwt-auth
More information about georgechem/jwt-auth
Files in georgechem/jwt-auth
Vendor georgechem
Package jwt-auth
Short Description Simple library to generate and validate json web token
License MIT
Package jwt-auth
Short Description Simple library to generate and validate json web token
License MIT
Please rate this library. Is it a good library?
Informations about the package jwt-auth
JWT token library
Use composer to install:
In root directory of your project create .env File like this
To generate token: in your entry point, generally index.php but can be any .php file
To obtain token do POST request to entry point with following data:
To verify token and authenticate/authorize user in entry point:
Exemplary usage:
Obtain token for new or already registered user:
Verify token for request
All versions of jwt-auth with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0.0
georgechem/sqlite-db Version dev-master
firebase/php-jwt Version ^5.4
vlucas/phpdotenv Version ^5.3
georgechem/sqlite-db Version dev-master
firebase/php-jwt Version ^5.4
vlucas/phpdotenv Version ^5.3
The package georgechem/jwt-auth contains the following files
Loading the files please wait ....