Download the PHP package hercdottech/stateless-token without Composer
On this page you can find all versions of the php package hercdottech/stateless-token. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hercdottech/stateless-token
More information about hercdottech/stateless-token
Files in hercdottech/stateless-token
Download hercdottech/stateless-token
More information about hercdottech/stateless-token
Files in hercdottech/stateless-token
Vendor hercdottech
Package stateless-token
Short Description A composer package to generate and validate stateless tokens
License GPL-3.0-or-later
Package stateless-token
Short Description A composer package to generate and validate stateless tokens
License GPL-3.0-or-later
Please rate this library. Is it a good library?
Informations about the package stateless-token
Stateless Token
The hercdottech/stateless-token PHP package provides a way to generate and validate stateless tokens. Without
making use of a database, files, or any other kind of state, this package relies on a private key known only to the
server and an array of clues to validate the tokens.
Due to the stateless nature of this package, it cannot be used to protect against replay attacks.
Requirements
- PHP 8.3 or later
- PHP JSON Extension (installed by default)
- PHP Hash Extension (installed by default)
Features
- Generate secure tokens using sha256 algorithm HMAC hash.
- The expiration period of each token is configurable, set to 1 hour by default.
- The generated tokens are URL-safe and can be used with GET requests.
Installation
Run the following command in your terminal:
All versions of stateless-token with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3
ext-json Version *
ext-hash Version *
ext-json Version *
ext-hash Version *
The package hercdottech/stateless-token contains the following files
Loading the files please wait ...