PHPackages                             youness\_usee/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. youness\_usee/filter

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

youness\_usee/filter
====================

the package is for filtering data for EXP you have search bar/page with multi filters option this package will help you to do that filters easily and fast this package using pipeline technology and it will check the request part by part

V4.50(5y ago)9115MITPHP

Since Oct 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/blackWhaleDev/usee-filter)[ Packagist](https://packagist.org/packages/youness_usee/filter)[ RSS](/packages/youness-usee-filter/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)DependenciesVersions (16)Used By (0)

blackWhaleDev-filter
====================

[](#blackwhaledev-filter)

The `blackWhaleDev/filter` package provides easy to writing global queries for filtering.

Here's a demo of how you can use it:

```
pipe(New User(),
    [
        NameFilter::class,
    ])->paginate(10);
```

You can create your own filter class using artisan command :

```
php artisan make:filter ClassName ColumnName
```

This Command have some option:

```
--type --second --relation=
```

Support us
----------

[](#support-us)

You can support me by using this package and help me to improve it

Documentation
-------------

[](#documentation)

For EXP: you have search page and you want set some filters for that page, and this filters should be apply on User class.

first with `artisan` call we create 2 class (Name and LastNameLike):

name:

```
php artisan make:filter Name FirstName
```

this command will generate "Name.php" file in "App\\QueryFilters" Folder

*Note*: the column that we want make filter on it is "first\_name" but we should write it in CamelCase and also in the HTML form input name should be the same of column name "first\_name"

now second class :

```
php artisan make:filter LastName LastName --type=like
```

this command will generate "likeLastName.php" file in "App\\QueryFilters" Folder

now call `pipe()` helper into your function

```
pipe(New User(), [
    Name::class,
    likeLastName::class, // --type = like
])->paginate(10);
```

just it ;) !!!

when request come into the helper its go to the Name Class and check if request has "name" it will be check and if request do not has "name" it will be go to next request (next class) without check

Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving the filter system? Feel free to [create an issue on GitHub](https://github.com/usee1993/usee-filter/issues), I'll try to address it as soon as possible.

If you've found a security issue please mail  instead of using the issue tracker.

Type of Artisan Call
--------------------

[](#type-of-artisan-call)

*Single*:

```
php artisan make:filter Name FirstName
```

its default type

*like*:

```
php artisan make:filter Name FirstName --type=like
```

its "Like" Query

*between*:

```
php artisan make:filter Name StartDate --type=between --second=EndDate
```

in this type you should pass "--second" option and it will check data between two time or anything else...

*--relation*:

```
php artisan make:filter Name StartDate --type=relation --relation=RelationName
```

in this type you should pass "--relation" option and it will check data whereHas that relation

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

[](#installation)

You can install the package via composer:

```
composer require youness_usee/filter
```

The package will automatically register itself.

*Note*: Please Keep CamelCase Style

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 67.9% 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

Every ~3 days

Total

15

Last Release

1991d ago

Major Versions

0.5 → V1.0.12020-10-20

V1.5.0 → V2.0.12020-10-20

v2.7 → v3.42020-11-19

V3.7 → V4.102020-11-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/cc92a88ee751475e8d8932af7f50cf7309d0e215892dbd2032bb7d6a3d76539a?d=identicon)[usee40](/maintainers/usee40)

---

Top Contributors

[![alirezaGAlizade](https://avatars.githubusercontent.com/u/66624615?v=4)](https://github.com/alirezaGAlizade "alirezaGAlizade (19 commits)")[![orcununipa](https://avatars.githubusercontent.com/u/71316978?v=4)](https://github.com/orcununipa "orcununipa (9 commits)")

---

Tags

easyeloquenteloquentfilterfilterfilteringfiltersfiltersystemgitgithublaravelmodelpackagephpqueriesqueryrequestsearchsearchlaravelpackagefilterusee

### Embed Badge

![Health badge](/badges/youness-usee-filter/health.svg)

```
[![Health](https://phpackages.com/badges/youness-usee-filter/health.svg)](https://phpackages.com/packages/youness-usee-filter)
```

###  Alternatives

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[mohammad-fouladgar/eloquent-builder

527189.5k](/packages/mohammad-fouladgar-eloquent-builder)[mehdi-fathi/eloquent-filter

Eloquent Filter adds custom filters automatically to your Eloquent Models in Laravel.It's easy to use and fully dynamic, just with sending the Query Strings to it.

450191.6k1](/packages/mehdi-fathi-eloquent-filter)[jedrzej/searchable

Searchable trait for Laravel's Eloquent models - filter your models using request parameters

127259.1k5](/packages/jedrzej-searchable)[lacodix/laravel-model-filter

A Laravel package to filter, search and sort models with ease while fetching from database.

17649.9k](/packages/lacodix-laravel-model-filter)[aldemeery/sieve

A simple, clean and elegant way to filter Eloquent models.

1396.3k](/packages/aldemeery-sieve)

PHPackages © 2026

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