PHP code example of acodeninja / laravel-pwned-passwords-validator
1. Go to this page and download the library: Download acodeninja/laravel-pwned-passwords-validator 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/ */
acodeninja / laravel-pwned-passwords-validator example snippets
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'email' => '
$validator = Validator::make($request->all(), [
'email' => 'e();