title: Validate array object in laravel form request validation?
body: <p>I am sending following json array to server,</p>
  
  <pre><code> {
      "details": {
          "0": {
              "name": "agency name"
          },
          "1": {
              "name": "agency name arabic"
          }
      }
  }
  </code></pre>
  
  <p>I want to validate details in form request.</p>
  
  <p>I tried as follows but not working fine,</p>
  
  <pre><code>protected $rules = [
          'details.*.name' =&gt; 'required|string',
      ];
  </code></pre>