PHPackages                             hosseinsheikh/query-filters - 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. hosseinsheikh/query-filters

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

hosseinsheikh/query-filters
===========================

query filters

v2.0.0(3y ago)113MITPHPPHP ^7.4|^8.0

Since Mar 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hosseinsheikh-web/query-filters)[ Packagist](https://packagist.org/packages/hosseinsheikh/query-filters)[ Docs](https://github.com/hosseinsheikh-web/query-filters)[ RSS](/packages/hosseinsheikh-query-filters/feed)WikiDiscussions master Synced 1mo ago

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

 [ ![](https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg) ](https://laravel.com)

***Hossein Sheikh Query Filters***

- To use query filters, you can do the following
    - Add QueryFilters trait to model
    - Use existing classes or build query class
    - Use filters() method in model ```
            UserModel::query()
                ->filters([
                            \HosseinSheikh\QueryFilters\Name::class,
                            \HosseinSheikh\QueryFilters\Status::class,
                        ])
                ->get()

        ```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1156d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6552c7286136cbd607f9f63332668e9172d356b2e772268b0978a89466bcab24?d=identicon)[hosseinsheikh.web](/maintainers/hosseinsheikh.web)

---

Top Contributors

[![hosseinsheikh-web](https://avatars.githubusercontent.com/u/38690344?v=4)](https://github.com/hosseinsheikh-web "hosseinsheikh-web (4 commits)")

---

Tags

phplaravellaravel-packagelaravel8laravel-query-filterslaravel8-packagelaravel8-query-filters

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hosseinsheikh-query-filters/health.svg)

```
[![Health](https://phpackages.com/badges/hosseinsheikh-query-filters/health.svg)](https://phpackages.com/packages/hosseinsheikh-query-filters)
```

###  Alternatives

[babenkoivan/elastic-scout-driver

Elasticsearch driver for Laravel Scout

2773.8M5](/packages/babenkoivan-elastic-scout-driver)[yorcreative/laravel-argonaut-dto

Argonaut is a lightweight Data Transfer Object (DTO) package for Laravel that supports nested casting, recursive serialization, and validation out of the box. Ideal for service layers, APIs, and clean architecture workflows.

1062.8k1](/packages/yorcreative-laravel-argonaut-dto)[omaressaouaf/query-builder-criteria

Define reusable query criteria for filtering, sorting, search, field selection, and includes in Laravel Eloquent models

282.4k](/packages/omaressaouaf-query-builder-criteria)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
