PHPackages                             catalyzecomm/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. catalyzecomm/laravel-filterable

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

catalyzecomm/laravel-filterable
===============================

A Simple filter library for laravel

v1.0.1(5y ago)120MITPHPPHP ^7.2

Since Sep 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/catalyzecomm/laravel-filterable)[ Packagist](https://packagist.org/packages/catalyzecomm/laravel-filterable)[ Docs](https://github.com/catalyzecomm/laravel-filterable)[ RSS](/packages/catalyzecomm-laravel-filterable/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (10)Used By (0)

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

[](#laravel-filterable)

[![StyleCI](https://camo.githubusercontent.com/8c13773436958bb0f4f5ee37692fff4305f7fd1e6cb9973be55a414d689dff1b/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3239373738383636362f736869656c643f7374796c653d666c6174266272616e63683d6d6173746572)](https://github.styleci.io/repos/297788666?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/5b6d6d7153346e623f93be96d63f552d12a64001a92329708382c8fac1063035/68747470733a2f2f706f7365722e707567782e6f72672f636174616c797a65636f6d6d2f6c61726176656c2d66696c74657261626c652f76)](//packagist.org/packages/catalyzecomm/laravel-filterable)[![License](https://camo.githubusercontent.com/1a1f0ff45aa3723e76449944e96d4c9e3e1ae7526558efa42ebe0f201fc434fd/68747470733a2f2f706f7365722e707567782e6f72672f636174616c797a65636f6d6d2f6c61726176656c2d66696c74657261626c652f6c6963656e7365)](//packagist.org/packages/catalyzecomm/laravel-filterable)[![Total Downloads](https://camo.githubusercontent.com/4ef2301c3dae6325e2ab76d731d6391db25aa786eba4fb427ff4c3e1b73e737c/68747470733a2f2f706f7365722e707567782e6f72672f636174616c797a65636f6d6d2f6c61726176656c2d66696c74657261626c652f646f776e6c6f616473)](//packagist.org/packages/catalyzecomm/laravel-filterable)

This package allows you to easily handle database filtering through query strings.

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

[](#installation)

You can install the package via composer:

for Laravel 6.x &amp; 7.x

```
composer require catalyzecomm/laravel-filterable
```

Introduction
------------

[](#introduction)

Introduction here

### Usage

[](#usage)

Define your model (use `Catalyzecomm\Filterable` Trait and define `$allowedFilters`)

```
    use Catalyzecomm\Filterable;

    ...

    /**
     * Define an array of filter that allowed to use for this model
     * `key` as class name and `value` as field name(s)
     *
     * @var array
     */
    protected static $allowedFilters = [
        Catalyzecomm\Filters\Sort::class => 'created_at',
        Catalyzecomm\Filters\Keywords::class => 'name,email',
    ];
```

Use on your controller

```
    $users = User::filterPaginate();
```

or

```
    $users = User::filterAll();
```

Credits
-------

[](#credits)

- [catalyzecomm](https://github.com/catalyzecomm)

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Every ~2 days

Total

9

Last Release

2057d ago

Major Versions

v0.0.3 → 1.0.0.x-dev2020-09-11

v0.1.0 → v1.0.12020-09-22

### Community

Maintainers

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

---

Top Contributors

[![koyanyaroo](https://avatars.githubusercontent.com/u/9715368?v=4)](https://github.com/koyanyaroo "koyanyaroo (19 commits)")

---

Tags

catalyzecommfilterablelaravellaravelfilterlaravel-filterablecatalyzecomm

### Embed Badge

![Health badge](/badges/catalyzecomm-laravel-filterable/health.svg)

```
[![Health](https://phpackages.com/badges/catalyzecomm-laravel-filterable/health.svg)](https://phpackages.com/packages/catalyzecomm-laravel-filterable)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[kyslik/laravel-filterable

Using URL query strings to filter Eloquent queries.

11539.0k](/packages/kyslik-laravel-filterable)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[hashemi/queryfilter

A simple &amp; dynamic package for your eloquent query in laravel. It will help you to write query logic individual for each parameter.

391.1k](/packages/hashemi-queryfilter)[stolz/laravel-html-tidy

HTML Tidy middleware for Laravel

278.7k](/packages/stolz-laravel-html-tidy)

PHPackages © 2026

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