pyivanov/password-package

There is no license information available for the latest version (v1.0.1) of this package.

Password generator

v1.0.1 2024-06-19 14:58 UTC

This package is auto-updated.

Last update: 2025-06-19 17:18:28 UTC


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");