Download the PHP package wearesho-team/yii-tokens without Composer
On this page you can find all versions of the php package wearesho-team/yii-tokens. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wearesho-team/yii-tokens
More information about wearesho-team/yii-tokens
Files in wearesho-team/yii-tokens
Download wearesho-team/yii-tokens
More information about wearesho-team/yii-tokens
Files in wearesho-team/yii-tokens
Vendor wearesho-team
Package yii-tokens
Short Description Yii2 Tokens Library (internal, legacy)
License MIT
Package yii-tokens
Short Description Yii2 Tokens Library (internal, legacy)
License MIT
Please rate this library. Is it a good library?
Informations about the package yii-tokens
Yii2 Tokens
Verifying some action by sending token (SMS, Email, Telegram etc.)
Compatible only with MySQL and PostgreSQL
CHANGELOG
Installation
Migrations
- Copy migrations into your project
Configuration
Environment
Default TokenRepositoryConfig loads configuration from environment variables. Environment variables name may be changed, defaults:
- TOKEN_EXPIRE_MINUTES - minutes from creating token when it will be invalidated
- TOKEN_VERIFY_LIMIT - maximum verifying limit (used by TokenValidator)
- TOKEN_DELIVERY_LIMIT - maximum sending limit (used by TokenRepository, send method)
Container
You should configure your DI-container to use environment config:
Contribution
Run Tests
Run test MySQL database
Run tests
Down test MySQL database
TODO
- Documentation
- Tests for exceptions
License
Unlicensed
All versions of yii-tokens with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
horat1us/yii2-carbon-behavior Version ^1.2
horat1us/yii2-validation-exception Version ^1.1
nesbot/carbon Version ^2.24 || ^1.22
wearesho-team/message-delivery Version ^1.7
yiisoft/yii2 Version ^2.0.47
horat1us/yii2-carbon-behavior Version ^1.2
horat1us/yii2-validation-exception Version ^1.1
nesbot/carbon Version ^2.24 || ^1.22
wearesho-team/message-delivery Version ^1.7
yiisoft/yii2 Version ^2.0.47
The package wearesho-team/yii-tokens contains the following files
Loading the files please wait ....