title: How add Custom Validation Rules when using Form Request Validation in Laravel 5
body: <p>I am using form request validation method for validating request in laravel 5.I would like to add my own validation rule with form request validation method.My request class is given below.I want to add custom validation numeric_array with field items.</p>
  
  <pre><code>  protected $rules = [
        'shipping_country' =&gt; ['max:60'],
        'items' =&gt; ['array|numericarray']
  ];
  </code></pre>
  
  <p>My cusotom function is given below</p>
  
  <pre><code> Validator::extend('numericarray', function($attribute, $value, $parameters) {
              foreach ($value as $v) {
                  if (!is_int($v)) {
                      return false;
                  }
              }
              return true;
          });
  </code></pre>
  
  <p>How can use this validation method with about form request validation in laravel5? </p>