PHPackages                             zaratesystems/laravel-filterable - 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. [Search &amp; Filtering](/categories/search)
4. /
5. zaratesystems/laravel-filterable

ActivePackage[Search &amp; Filtering](/categories/search)

zaratesystems/laravel-filterable
================================

Apply filters to your Eloquent models in Laravel

1.0.1(5y ago)5101MITPHPPHP ^7.3

Since Dec 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/zarate-systems/laravel-filterable)[ Packagist](https://packagist.org/packages/zaratesystems/laravel-filterable)[ RSS](/packages/zaratesystems-laravel-filterable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Laravel Filterable
==================

[](#laravel-filterable)

[![Github Actions](https://github.com/zarate-systems/laravel-filterable/workflows/PHPUnit%20tests/badge.svg)](https://github.com/zarate-systems/laravel-filterable/actions)[![Total Downloads](https://camo.githubusercontent.com/0756941c9b9ee6745a24d9a1992917737edb5c5e3eb880511258512d95ee5967/68747470733a2f2f706f7365722e707567782e6f72672f7a617261746573797374656d732f6c61726176656c2d66696c74657261626c652f646f776e6c6f616473)](https://packagist.org/packages/zaratesystems/laravel-filterable)

Apply filters to your Eloquent models in Laravel.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require zaratesystems/laravel-filterable
```

The package will automatically register itself.

Usage
-----

[](#usage)

Add the `Zarate\Filterable\Filterable` trait to your eloquent model. Filterable add the filter scope to your Eloquent model.

```
