PHP code example of raso / password_generator
1. Go to this page and download the library: Download raso/password_generator 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/ */
raso / password_generator example snippets
yApp\Password;
//first argument is pass level (1-3), second is pass length(6-20)
$test = new Password(3, 6);
echo $test->randomPassword();
$ php index.php