title: Laravel Validation of Required With
body: <p>I'm attempting to set up validation for my request in my controller and I'm trying to figure out how I can have address, city, state, zip all depend on each other as far as if there's a value for one then there must be a value for all of them, address2 is the only one that is stand-alone but depends ONLY on the address. For some reason, this doesn't work. For example, if the city is submitted then validation passes. So I don't quite understand what I"m doing wrong.</p>
  
  <pre><code>'address' =&gt; 'required_with_all:city,state,zip|string|nullable',
  'address2' =&gt; 'required_with:address|string|nullable',
  'city' =&gt; 'required_with_all:address,state,zip|string|nullable',
  'state' =&gt; 'required_with_all:address,city,zip|string|size:2|nullable',
  'zip' =&gt; 'required_with_all:address,city,state|integer|digits:5|nullable'
  </code></pre>