kettasoft / filterable
Easy and fast Eloquent filter package
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kettasoft/filterable
Requires
- php: ^8.0
- illuminate/database: ^8.0|^9.0|^10.0|^11.0|^12.0
- illuminate/support: ^8.0|^9.0|^10.0|^11.0|^12.0
- opis/closure: ^4.3
Requires (Dev)
- mockery/mockery: ^1.3.2
- orchestra/testbench: ^8.0|^9.0
- phpunit/phpunit: ^8.4|^9.0|^10.5
- dev-master
- v2.9.4
- v2.9.3
- v2.9.2
- v2.9.1
- v2.9.0
- v2.8.0
- v2.7.0
- 2.6.1.x-dev
- v2.6.1
- 2.6.0.x-dev
- v2.6.0
- 2.5.3.x-dev
- v2.5.3
- 2.4.3.x-dev
- v2.4.3
- 2.4.2.x-dev
- v2.4.2
- 2.3.2.x-dev
- v2.3.2
- 2.2.2.x-dev
- v2.2.2
- 2.2.1.x-dev
- v2.2.1
- 2.2.0.x-dev
- v2.2.0
- v2.1.0.x-dev
- v2.1.0
- v2.0.0.x-dev
- v2.0.0
- v1.0.0
- dev-fix/filterable-method-conflicts
- dev-hotfix/spelling
- dev-feat/cli
- dev-hotfix/invokable
- dev-fix/cli
- dev-feat/caching
- dev-chore/code-improvements
- dev-feature/method-injection
- dev-feature/filterable-profile
This package is auto-updated.
Last update: 2025-10-30 16:16:21 UTC
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
