PHPackages                             fomvasss/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. [Database &amp; ORM](/categories/database)
4. /
5. fomvasss/laravel-filterable

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

fomvasss/laravel-filterable
===========================

Package for build filters in eloquent models

1.4.0(4y ago)48651MITPHP

Since Nov 25Pushed 4y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (6)Used By (0)

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

[](#laravel-filterable)

[![License](https://camo.githubusercontent.com/4ea93b2e8a2236695c56e5683df889079add43424e0704197a86470b0f1d6fb0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f666f6d76617373732f6c61726176656c2d66696c74657261626c652e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/fomvasss/laravel-filterable)[![Build Status](https://camo.githubusercontent.com/dcc7c9c439afe816e231f4a1516005e52e00fcb182dde38e67c7938f2bd6aaa1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f666f6d76617373732f6c61726176656c2d66696c74657261626c652e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/fomvasss/laravel-filterable)[![Latest Stable Version](https://camo.githubusercontent.com/c1dca7609f280bdaa055ff39e1878f57189124c1bc43b94b0e9dfeac39693324/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666f6d76617373732f6c61726176656c2d66696c74657261626c652e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/fomvasss/laravel-filterable)[![Total Downloads](https://camo.githubusercontent.com/fa1556afad36cfd0bc15275cbfe6c006842686e0044c93004b1ee4c60357aee7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666f6d76617373732f6c61726176656c2d66696c74657261626c652e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/fomvasss/laravel-filterable)[![Quality Score](https://camo.githubusercontent.com/f6eaa57f17b306ad43ae337623b2db19e0f88a01d07c839dc2ae57139287b786/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f666f6d76617373732f6c61726176656c2d66696c74657261626c652e7376673f7374796c653d666f722d7468652d6261646765)](https://scrutinizer-ci.com/g/fomvasss/laravel-filterable)

Package for easy filtering and searching in your Eloquent models

---

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

[](#installation)

Run from the command line:

```
composer require fomvasss/laravel-filterable
```

Publishing
----------

[](#publishing)

```
php artisan vendor:publish --provider="Fomvasss\Filterable\ServiceProvider"
```

Integration
-----------

[](#integration)

Usage in Eloquent models trait

`Fomvasss\Filterable\Filterable`

Usage
-----

[](#usage)

`app/Models/Article.php`

```
