Description
An elegant way to filter and sort queries in Laravel
Here is a basic usage example to clarify Purity's use case.
Add filter() to your query.
$posts = Post::filter()->get();
That's it! Now you can filter your posts by adding query string parameters to the URL.
GET /api/posts?filters[title][$contains]=Purity
Recent Courses on Laravel Daily
[NEW] NativePHP Mobile v4 with SuperNative: Mini-Course
5 lessons
18 min
Marketing for Developers in 2026
7 lessons
52 min
Laravel 13 Starter Kit Teams and Customizations
10 lessons
33 min