1 min readDec 2, 2019
Hi Sanjay.
You could specify a format for a single filter like `date_filter=<from>:<to>` if you need to get handle both at once.
Or rely on eloquent’s query nesting, such that `from=` evaluates to `->where(…, “>”, $value)`, and `to=` evaluates to `->where(…, “<”, $value)`. Eloquent should take care of building the query for you, depending on which query filters are supplied.