title: How to get results of the weekend laravel
body: <p>I’m trying to get results of the weekend in laravel. I would like to show all the events of the weekend during all the week. So I would like to show all results from monday to sunday, but just weekend events.
  I have:</p>
  
  <pre><code>$friday = Carbon::parse('this friday')-&gt;toDateTimeString();
  $sunday = Carbon::parse('this sunday')-&gt;toDateTimeString();
  if (Carbon::now()-&gt;gt(Carbon::parse('this friday'))) {
          $friday = Carbon::parse('last friday')-&gt;toDateTimeString();
  }
  $events = Event::where([
          ['date', '&gt;=', $friday],
          ['date', '&lt;=', $sunday]
      ])
          -&gt;orderBy('date', 'asc')
          -&gt;get();
  </code></pre>
  
  <p>But when it’s satuday this doesn’t work. I don’t know how to do it. Any idea?
  Thanks!</p>