Method [validateRequire] does not exist
<p>I am making a data validation, but it throws this error:</p>

<pre><code> exception 'BadMethodCallException' with message 'Method [validateRequire] does not exist.' in G:\WEB\litraen\vendor\laravel\framework\src\Illuminate\Validation\Validator.php:3265
</code></pre>

<p>when performing the validation.</p>

<pre><code>namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Validator;
use App\Http\Requests;

class UserController extends Controller
{


    public function Register(Request $request){

       $validator = Validator::make($request-&gt;all(),[
            'name' =&gt; 'required|max:25',
            'email' =&gt; 'require|email|unique:users',
            'password' =&gt; 'require|min:6'
        ]);

        if ($validator-&gt;fails()){
             return response()-&gt;json([
                 'success' =&gt; false,
                 'errors' =&gt; $validator-&gt;errors()-&gt;toArray()
             ]);
        }
           return response()-&gt;json([
                'success' =&gt; true
              ]);
        }
    }
</code></pre>

<p>why shows  this error?
that could have wrong?</p>

<p>Thank you :)</p>