public function validate(Request $request, array $rules = [], array $filters = [])
    {
        $all = $request->all();

        return $request->getValidation()->make($all, $rules, $filters);
    }
public function validate(Request $request, array $rules = [], array $filters = [])
    {
        $all = $request->all();

        return $request->getValidation()->make($all, $rules, $filters);
    }
public function validate ( Request $ request , array $ rules = [ ] , array $ filters = [ ] ) { $ all = $ request -> all ( ) ; return $ request -> getValidation ( ) -> make ( $ all , $ rules , $ filters ) ; }
validate the form

@param Request $request
@param array $rules
@param array $filters
validate the form