Download the PHP package escuelait/custom-password-generator without Composer
On this page you can find all versions of the php package escuelait/custom-password-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download escuelait/custom-password-generator
More information about escuelait/custom-password-generator
Files in escuelait/custom-password-generator
Download escuelait/custom-password-generator
More information about escuelait/custom-password-generator
Files in escuelait/custom-password-generator
Vendor escuelait
Package custom-password-generator
Short Description Custom Password Generator for PHP
License MIT
Package custom-password-generator
Short Description Custom Password Generator for PHP
License MIT
Please rate this library. Is it a good library?
Informations about the package custom-password-generator
Custom Password Generator
A lightweight, customizable password generator by Escuelait. Ideal for generating secure, random passwords with optional symbol inclusion.
Installation
Install via Composer:
Quick Usage
Configuration
You can customize both the total password length and the number of symbols:
⚠️ If the number of symbols exceeds the total password length, an
InvalidArgumentExceptionwill be thrown.
How It Works
-
Character sets used:
- Letters:
a-z,A-Z - Numbers:
0-9 - Symbols:
!@#$%&*()_+-=[]{}|;:,.<>?
- Letters:
-
Defaults:
- Length:
12 - Symbols:
2
- Length:
-
Fluent methods:
length(int $length)— Set total password length.symbols(int $symbols)— Set number of symbols.
Example
❗ Exceptions
If the number of requested symbols exceeds the total length:
Future Improvements
- Unit tests
- Option to exclude ambiguous characters
- CLI version
License
This package is open-sourced under the MIT license.
All versions of custom-password-generator with dependencies
PHP Build Version
Package Version
No informations.
The package escuelait/custom-password-generator contains the following files
Loading the files please wait ...