pyivanov / password-package
There is no license information available for the latest version (v1.0.1) of this package.
Password generator
Package info
github.com/PYIvanov/passwordPackage
Type:project
pkg:composer/pyivanov/password-package
v1.0.1
2024-06-19 14:58 UTC
Requires
- php: >=8.2
- ext-mbstring: *
README
Requirements
- PHP >= 8.2
Installation
You can add this library as a local, per-project dependency to your project using Composer:
composer require pyivanov/passwordPackage
If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
composer require --dev pyivanov/passwordPackage
Usage
<?php require __DIR__ . '/../vendor/autoload.php'; $randomGenerator = new \PYIvanov\PasswordPackage\PasswordGenerator(); $length = 8; $password = $randomGenerator->generate($length); echo ("Your password is: $password");