timgreenwood / password-generator
Generates a random password string from a list of words for Laravel
v10.0.1
2023-02-15 17:17 UTC
Requires
- php: ^8.0|^8.1
- laravel/framework: ^9.0|^10.0
README
What It Does
This package allows you to generate a random password string from a list of words.
Once installed you can do stuff like this:
// Generate a random password string with the default settings: 4 words separated by hyphens (new Timgreenwood\PasswordGenerator\PasswordGenerator)->generate() // Generate a random password string with 3 words, separated by hyphens (new Timgreenwood\PasswordGenerator\PasswordGenerator)->generate(3) // Generate a random password string with 5 words, separated by underscores (new Timgreenwood\PasswordGenerator\PasswordGenerator)->generate(5, '_')
Installation
Install the package using composer
composer require timgreenwood/password-generator`
Licence
The MIT Licence (MIT). Please see the LICENSE file for more information.