Skip to content

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

License

Notifications You must be signed in to change notification settings

kettasoft/filterable

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages