PHP Classes

Password Generator Class: Generate passwords with given requirements

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 1,010 All time: 3,628 This week: 206Up
Version License PHP version Categories
passgen_class 1.0GNU General Publi...5.0PHP 5, Text processing, Security


2009/04/26 - Michael Schramm sent me modified version of this class. I added it to the list so you can see his solution (which seems much better to me). Look for the class.password.php file. Thanks Michael :)


This class can be used to generate passwords with given requirements.

It can generate one or more password strings that may be a of given length.

The passwords may include different ranges of characters like upper and lower case letters, digits, and special characters.

The class may assure that the password characters are not repeated.

Picture of Daniel Tlach
Name: Daniel Tlach <contact>
Classes: 2 packages by
Country: Czech Republic Czech Republic
Age: 40
All time rank: 4075 in Czech Republic Czech Republic
Week rank: 307 Up1 in Czech Republic Czech Republic Up

  Files folder image Files  
File Role Description
Plain text file class.password.php Class Modified and easier to handle version by Michael Schramm
Accessible without login Plain text file example.php Example Example usage
Plain text file Password.php Class Class source file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,628
This week:206Up
 User Ratings  
 All time