lorddashme / php-strong-password-generator
A simple package that generate strong random characters that can be use for password.
Installs: 32
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/lorddashme/php-strong-password-generator
Requires
- php: >=5.6 || >=7.0 || >=7.1 || >=7.2
Requires (Dev)
- mockery/mockery: 1.*
- phpunit/phpunit: 5.* || 6.* || 7.*
This package is auto-updated.
Last update: 2025-09-29 02:07:36 UTC
README
A simple package that generate strong random characters that can be use for password.
Requirement(s)
- PHP version from 5.6.* up to latest.
Install
via Composer
- Use the command below to install the package via composer:
composer require lorddashme/php-strong-password-generator
Usage
- Basic usage:
<?php include __DIR__ . '/vendor/autoload.php'; use LordDashMe\StrongPasswordGenerator\StrongPasswordGenerator; // Initialize the Strong Password Generator main class. $strongPasswordGenerator = new StrongPasswordGenerator(); // Set the character length output. $strongPasswordGenerator->length(25); // Execute the generation process function. $strongPasswordGenerator->generate(); // Get the generated output. $strongPasswordGenerator->get(); // "abcde12345..."
License
This package is open-sourced software licensed under the MIT license.