Download the PHP package vsevolod-ryzhov/yii2-code-validation without Composer
On this page you can find all versions of the php package vsevolod-ryzhov/yii2-code-validation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vsevolod-ryzhov/yii2-code-validation
More information about vsevolod-ryzhov/yii2-code-validation
Files in vsevolod-ryzhov/yii2-code-validation
Download vsevolod-ryzhov/yii2-code-validation
More information about vsevolod-ryzhov/yii2-code-validation
Files in vsevolod-ryzhov/yii2-code-validation
Vendor vsevolod-ryzhov
Package yii2-code-validation
Short Description Validate form change via secret code (SMS and etc)
License MIT
Package yii2-code-validation
Short Description Validate form change via secret code (SMS and etc)
License MIT
Please rate this library. Is it a good library?
Informations about the package yii2-code-validation
Code validation service for Yii2 models
Validate model change via code delivered by external service (SMS, email & etc)
Installation
Via Composer
Usage
Inject service in your Controller:
create action with some form (Model or ActiveRecord):
create verify action:
also, you can create additional action for updating existing code
action returns object with some useful information:
- returns true if code was updated
- returns number of seconds time until the next possible update time
- returns new code (if generated) or null
All versions of yii2-code-validation with dependencies
PHP Build Version
Package Version
The package vsevolod-ryzhov/yii2-code-validation contains the following files
Loading the files please wait ....