Feature Requests
Share ideas, discuss and vote on requests from other users in community
 

Upgrade to Laravel 5.7

Andrii Balytskyi shared this idea 1 year ago
Under Consideration

A new version of Lavarel supports such methods like whereDate / whereMonth / whereDay / whereYear / whereTime, which can be more useful.

https://laravel.com/docs/5.7/queries#where-clauses

Comments (2)

photo
1

Hi there,

Thanks for your suggestion.

We monitor for updates to our dependencies and include them when security or new functionality we wish to leverage requires it. Due to Laravel's tendency to have backwards-incompatible changes between versions, we prefer to err on the side of caution. We would likely also need to reserve such a change to a major version change of our own (eg. v6, v7, v8).

In the meantime I'd be interested to hear to what purpose you'd put these new methods?

photo
1

I created a several modules and hooks for our whmcs. It is a very convenient to use whereDate and whereMonth example.
No need to write something like this:


  1. ->where('date', 'like', '2018-10-%')