abbasudo/laravel-purity
Laravel Purity adds elegant filtering and sorting to Eloquent queries. Just call filter() on a model query, then let clients apply complex conditions via URL query parameters (e.g., filters[title][$contains]=...). Great for clean, flexible APIs.
changed how $filterFields array works. it no longer renames fields, instead, it restricts filters that are accepted by the field as mentioned in the Restrict filters section.
to rename fields refer to Rename fields. sortFields However, didnt change.
changed filter function arguments. filter function no longer accepts filter methods, instead, filter function now accepts filter source as mentioned in Custom Filters section. to specify allowed filter methods use filterBy as mentioned in Restrict Filters
How can I help you explore Laravel packages today?