raso / password_generator
A simple password generator
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/raso/password_generator
Requires (Dev)
- phpunit/phpunit: ^9
This package is not auto-updated.
Last update: 2025-12-08 01:16:58 UTC
README
Generate random password of a given level and length.
Installation
This project using composer.
$ composer require raso/password_generator
Usage
Create index.php in root of the project. Generate random password with the following code.
<?php require_once __DIR__ . '/vendor/autoload.php'; use MyApp\Password; //first argument is pass level (1-3), second is pass length(6-20) $test = new Password(3, 6); echo $test->randomPassword();
Open your porject root in your CLI and run:
$ php index.php