PHPackages                             sharifuddin/laravel-smart-filter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. sharifuddin/laravel-smart-filter

ActiveLibrary[Database &amp; ORM](/categories/database)

sharifuddin/laravel-smart-filter
================================

Advanced smart filtering for Laravel Eloquent models with relation support and multiple filter types

v1.0.0(6mo ago)03MITPHPPHP ^8.1

Since Nov 1Pushed 6mo agoCompare

[ Source](https://github.com/sharifWebDev/sharif-laravel-smart-filter)[ Packagist](https://packagist.org/packages/sharifuddin/laravel-smart-filter)[ RSS](/packages/sharifuddin-laravel-smart-filter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

[![Laravel Smart Filter](https://camo.githubusercontent.com/e0decd9d5cab7b62dcd77032007c8f7e7cb62eacec33a73a9ff48c9d42e77826/68747470733a2f2f7669612e706c616365686f6c6465722e636f6d2f31353030783530302f3342383246362f4646464646463f746578743d4c61726176656c2b536d6172742b46696c746572)](https://camo.githubusercontent.com/e0decd9d5cab7b62dcd77032007c8f7e7cb62eacec33a73a9ff48c9d42e77826/68747470733a2f2f7669612e706c616365686f6c6465722e636f6d2f31353030783530302f3342383246362f4646464646463f746578743d4c61726176656c2b536d6172742b46696c746572)

[![Latest Version](https://camo.githubusercontent.com/9f3ae569066462aeaeaaf96ed8834b6da1ee7bcc7076b28fbfe2292f469b2923/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736861726966756464696e2f6c61726176656c2d736d6172742d66696c746572)](https://packagist.org/packages/sharifuddin/laravel-smart-filter)[![Total Downloads](https://camo.githubusercontent.com/eac036f99f8b6c8bb6d04e2f2227472275e0a503109d9f818e1c509096be4a9e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736861726966756464696e2f6c61726176656c2d736d6172742d66696c746572)](https://packagist.org/packages/sharifuddin/laravel-smart-filter)[![Build Status](https://camo.githubusercontent.com/f0f2ef9d202691b96fd5bd544370607c59fcb631a955ac9fb741f229bbdc8027/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736861726966756464696e2f6c61726176656c2d736d6172742d66696c7465722f74657374732e796d6c)](https://github.com/sharifuddin/laravel-smart-filter/actions)[![License](https://camo.githubusercontent.com/2b98ea036f7e7da8c71da4aa87c233bcf62771ee47d14e963c2bbc56a5adb562/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f736861726966756464696e2f6c61726176656c2d736d6172742d66696c746572)](https://packagist.org/packages/sharifuddin/laravel-smart-filter)[![PHP Version](https://camo.githubusercontent.com/3a73e2280ec14e7ba71344d0c7bcdf21c2f95f4bd8ee037a42fdbd89da744e65/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d373737424234)](https://php.net)[![Laravel Version](https://camo.githubusercontent.com/3182131460e4318c40deee58c9638009ee2a94dbe4ed84e19dd12cf604eda7c9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31302e782532422d464632443230)](https://laravel.com)

---

🚀 Introduction
--------------

[](#-introduction)

**Laravel Smart Filter** is a powerful and flexible filtering engine for Eloquent models.
It enables dynamic, request-driven filtering across columns and relationships — with support for multiple operators, data types, and nested relations.

### ✨ Features

[](#-features)

- ⚡ **Dynamic Filtering** — Filter data using arrays or request parameters
- 🔍 **Relation Filtering** — Automatically filters related models
- 🧩 **Multiple Operators** — `=`, `!=`, `>`, `
