laravel eloquent where between check new from date and to date should not exist between lod from data and to date code example
Example: laravel between dates
$from = date('2018-01-01');
$to = date('2018-05-02');
Reservation::whereBetween('reservation_from', [$from, $to])->get();