title: validate end date using start date in laravel 5 using request class
body: <p>This is my request class.</p>
  
  <pre><code>public function rules()
  {
      $input = Input::all();
  
      return [
          'title' =&gt; 'required|unique:event_cals,title',
          'eventDate' =&gt; 'required|date|after:yesterday',
          'endDate'   =&gt; 'date|before:event_cals,' . date( 'Y-m-d', strtotime( $input['eventDate'] . ' +1 day' ) ),
          'venue' =&gt; 'required',
          'time' =&gt; 'required',
          'type' =&gt; 'required',
          'photo' =&gt; 'mimes:jpeg,bmp,png,jpg|max:1000'
      ];
  }
  
  public function messages(){
      return [
          'title.required' =&gt; 'Title is required.',
          'title.unique' =&gt; 'Title is already there.',
          'eventDate.after' =&gt; 'Event Date is passed.',
          'eventDate.required' =&gt; 'Event Date is required.',
          'venue.required' =&gt; 'Venue is required.',
          'time.required' =&gt; 'Time is required.',
          'type.required' =&gt; 'Type is required.',
          'endDate.date' =&gt; 'Due Date should be after starting date',
  
      ];
  }
  </code></pre>
  
  <p>There I want to verify whether endDate is after the eventDate. It is working properly except when endDate is similar to eventDate. But I want to make sure that there must be able to add an endDate which is similar to eventDate also. For an example if the eventDate is 03/04/2016, there can be able to add an endDate as 03/04/2016 or any upcoming date. But from above rule 03/04/2016 is invalid as an endDate. Is there any keyword for before or equal? Please can any one help me figure out this mess?</p>