kettasoft/filterable

Easy and fast Eloquent filter package

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/kettasoft/filterable

v2.3.2 2025-10-08 21:29 UTC

README

Filterable Logo

Filterable

A powerful and flexible Laravel package for advanced, clean, and scalable filtering of Eloquent models using multiple customizable engines.

Tests Latest Version on Packagist Total Downloads License

✨ 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