Download the PHP package wearesho-team/yii-token-registration without Composer
On this page you can find all versions of the php package wearesho-team/yii-token-registration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii-token-registration
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-token-registration with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
horat1us/yii2-base Version ^1.11
nesbot/carbon Version ^1.22
wearesho-team/message-delivery Version ^1.3
yiisoft/yii2 Version ^2.0.14.2
horat1us/yii2-base Version ^1.11
nesbot/carbon Version ^1.22
wearesho-team/message-delivery Version ^1.3
yiisoft/yii2 Version ^2.0.14.2
The package wearesho-team/yii-token-registration contains the following files
Loading the files please wait ....