Laravel provides convenient and many query builder methods to fetch data from database queries. One of the method is whereBetween. Sometimes you may want to fetch records for a field value between two values. You can even get records between two dates. For example, getting records between id 1 to 100 or created_at between two dates. Then whereBetween method is for that.