PHPackages                             htetoozin/eloquent-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. htetoozin/eloquent-filter

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

htetoozin/eloquent-filter
=========================

Laravel Eloquent Filter

v1.0.0(2y ago)07MITPHP

Since Dec 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/htetoozin/laravel-eloquent-filter)[ Packagist](https://packagist.org/packages/htetoozin/eloquent-filter)[ Docs](https://github.com/htetoozin/laravel-eloquent-filter)[ RSS](/packages/htetoozin-eloquent-filter/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

Laravel Eloquent Filter Package
===============================

[](#laravel-eloquent-filter-package)

📥 Installation
--------------

[](#inbox_tray-installation)

You can install this package via composer using this command:

```

composer require htetoozin/eloquent-filter

```

Usage
-----

[](#usage)

Run php artisan make:filter {name} this file generate and stored at the location of app/Filters/. eg..

```
php artisan make:filter UserFilter

```

will generate such file content of UserFilter.php

Important

Array value and the method name must be the same; otherwise, the filter will not work.

```
