fitpass/passwordgenerator

Password Generator for Laravel with length and strength conditions.

dev-master 2022-03-07 14:00 UTC

This package is not auto-updated.

Last update: 2024-10-01 03:25:37 UTC


README

Install Through Composer

$ composer require fitpass/passwordgenerator

Usage

In order to use the included PasswordGenerator Facade, import the following in your file

use FitPass\PasswordGenerator\Facades\PasswordGenerator;

The generate method allows you to pass custom specifications for the generator.

 PasswordGenerator::generate($strength, $length);

Testing

In order to run tests, please run

$ ./vendor/bin/phpunit