nnil/generate-password

This package is designed to generate a safe password

v0.0.1 2025-04-11 11:16 UTC

This package is auto-updated.

Last update: 2025-06-11 11:39:24 UTC


README

Introduction

This is a tempareture convertor that converts Degree Celsius to Degree Fahrenheit

Installation

composer require nnil/generate-password

Example

How to import the package on a normal php script

<?php

require 'vendor/autoload.php';

use Nnil\GeneratePassword\GeneratePassword;

Generating a password with a length of 12 characters

$random_password = GeneratePassword::random(12);

Generating a regex pattern to validate a password with a length of 12 characters

$pattern = GeneratePassword::getPattern(12);