use between laravel eloquent code example Example: eloquent where between $query->whereBetween('age', [$ageFrom, $ageTo]);