kettasoft/filterable
最新稳定版本:v2.13.3
Composer 安装命令:
composer require kettasoft/filterable
包简介
Easy and fast Eloquent filter package
README 文档
README
Filterable
A powerful and flexible Laravel package for advanced, clean, and scalable filtering of Eloquent models using multiple customizable engines.
✨ Overview
Filterable lets you build highly customizable filtering logic for Laravel's Eloquent queries without messy conditions. With support for multiple engines like:
- Ruleset Engine
- Invokable Engine
- Expression Engine
- Tree Engine
...you can structure your filter logic however you like — from simple lists to deeply nested conditional trees with relationship support.
⚙️ Key Features
- Multiple Filtering Engines
- Chainable & Nested Filter Logic
- Relation & Nested Relation Filtering
- Custom Operators & Sanitization
- SOLID & Extensible Design
- Zero-Config Optional Defaults
📚 Documentation
For full documentation, installation, and usage examples, visit: https://kettasoft.github.io/filterable
✅ Quick Start
composer require kettasoft/filterable
Use it in your controller:
$posts = Post::filter(new PostFilter)->paginate();
Create your PostFilter using your preferred engine.
License
MIT © 2024-present Kettasoft
统计信息
- 总下载量: 61
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-12
