laracraft-tech/laravel-date-scopes
Laravel Date Scopes adds a wide range of ready-made date scopes to your Eloquent models via a simple trait. Query records with ofToday(), ofLastWeek(), monthToDate(), ofLastYear(), and many more—fully chainable with any builder method like sum or avg.
Full Changelog: https://github.com/laracraft-tech/laravel-date-scopes/compare/v2.4.0...v2.5.0
Full Changelog: https://github.com/laracraft-tech/laravel-date-scopes/compare/v2.3.0...v2.4.0
Full Changelog: https://github.com/laracraft-tech/laravel-date-scopes/compare/v2.2.1...v2.3.0
Full Changelog: https://github.com/laracraft-tech/laravel-date-scopes/compare/v2.2.0...v2.2.1
startFrom as a parameter to query between certain ranges. For instance: Transaction::ofLastYear(startFrom: '2020-01-01'). You may need to change the order of your arguments or use named arguments. Checkout UPGRADING file for that.How can I help you explore Laravel packages today?