Laravel Purity
abbasudo/laravel-purityЕлегантний спосіб додавання фільтрування та сортування в Laravel. Спрощує реалізацію фільтрів та сортування для ваших запитів.
README
Elegant way to filter and sort queries in Laravel
Laravel Purity is an elegant and yet simple filtering and sorting package for Laravel,
designed to simplify complex data filtering and sorting logic for eloquent queries.
By simply adding filter() to your Eloquent query,
you can add the ability for frontend users to apply filters based on URL query string parameters like a breeze.
How Does Purity Work?
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
read more at official documentations
Documentation
https://abbasudo.github.io/laravel-purity/
License
Laravel Purity is Licensed under The MIT License (MIT). Please see License File for more information.
Security
If you've found a bug regarding security, please mail amkhzomi@gmail.com instead of using the issue tracker.
Схожі пакети
Laravel Query Builder
spatie/laravel-query-builderЛегко будуйте Eloquent-запити на основі запитів від API.
Eloquent Sluggable
cviebrock/eloquent-sluggableЛегке створення слагів для ваших моделей Eloquent у Laravel.
Sushi
calebporzio/sushiДодатковий драйвер для Eloquent, який дозволяє працювати з масивами даних як з повноцінними Eloquent моделями.
Iseed
orangehill/iseedГенерує новий файл seed для Laravel на основі даних з існуючої таблиці бази даних.
Інформація
- Версія
- v3.3.9
- Laravel
- 13
- Зірки
- 516
- Завантажень
- 405.7k
- Реліз
- 25 березня 2026
- Категорія
- База даних та Eloquent