Skip to content

Commit

Permalink
Remove request example from README
Browse files Browse the repository at this point in the history
  • Loading branch information
REBELinBLUE committed Oct 27, 2017
1 parent 3d3b581 commit 9dcbba1
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,6 @@ However, you probably want to use it as a validator. The package add a single ru
```php
<?php

use Illuminate\Foundation\Http\Request;

class SavePasswordRequest extends Request
{
public function rules()
{
return [
'password' => 'required|min:6|zxcvbn',
];
}
}


// alternatively

$input = [ /* user input */ ];
$validator = Validator::make($input, [
'password' => 'required|min:6|zxcvbn',
Expand Down

0 comments on commit 9dcbba1

Please sign in to comment.