Download the PHP package bupy7/yii2-password-behavior without Composer
On this page you can find all versions of the php package bupy7/yii2-password-behavior. 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 yii2-password-behavior
yii2-password-behavior
Behavior for change and create password of user account.
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Usage
Implement your user identity model with
bupy7\password\PasswordInterface
and add following code:
Added following properties to your model:
Attach behavior to model in your controller:
If you want set password with checking old password
In your controller:
If you want set new password without checking old password
In your controller:
If password must be set (example, registration)
License
yii2-password-behavior is released under the BSD 3-Clause License.
All versions of yii2-password-behavior with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
*
The package bupy7/yii2-password-behavior contains the following files
Loading the files please wait ....