PHP code example of emiliopedrollo / laravel-secure-passwords
1. Go to this page and download the library: Download emiliopedrollo/laravel-secure-passwords 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/ */
emiliopedrollo / laravel-secure-passwords example snippets
Validator::make(['password' => 'trustno1']
'password' => 'has_digit|has_letter|not_a_common_password'
)->passes(); // returns false;