PHP code example of wterberg / laravel-no-common-passwords
1. Go to this page and download the library: Download wterberg/laravel-no-common-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/ */
wterberg / laravel-no-common-passwords example snippets
use WterBerg\Laravel\NoCommonPasswords\Rules\NoCommonPassword;
...
$validator = Validator::make(
$dataToValidate,
['password' => ['