epasswordstrength Validates password strength

  1. Requirements
  2. Usage
  3. Resources
  4. Change Log
  5. 0.1

This validator checks if password is strong enough. Password is strong enough, if it have defined minimum number of characters(which can be changed), and if it contain at least one upper case letter, at least one lower case letter, and at least one number.

Requirements

Class is developed and tested using Yii version 1.1.7

Usage

Unzip the contents of the zip file onto your protected/extensions/validators folder, then edit rules method of the model class as following:

public function rules()
{ 
   return array(
     array(array('password','ext.validators.EPasswordStrength', 'min'=>7),
    );
 
}

Resources

Change Log

0.1

  • Initial release
8 0
12 followers
1 540 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Validation
Developed by: Ivica
Created on: Jul 22, 2011
Last updated: 12 years ago

Downloads

show all

Related Extensions