PHP code example of ulolop / random-package
1. Go to this page and download the library: Download ulolop/random-package library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ulolop / random-package example snippets
omGenerator = new \Ulolop\RandomPackage\RandomGenerator();
$length = 8;
$hex = $randomGenerator->hex($length);
$string = $randomGenerator->string($length);
$password = $randomGenerator->password($length);
echo ($hex . "<br>" . $string . "<br>" . $password);