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

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

hellozach/laravel-filterable
============================

Filterable trait for Models in Laravel

0.1.2(7y ago)0669PHP

Since May 25Pushed 7y agoCompare

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

READMEChangelog (2)DependenciesVersions (3)Used By (0)

\#Installation

\##1. Require the package

```
composer require hellozach/laravel-filterable

```

\##2. Use the Filterable trait

Add the following line to the filterable model

```
use HelloZach\LaravelFilterable\Traits\Filterable;
```

And add the trait to the class:

```
use Filterable;
```

\##3. Add filterable columns to model

Add an array of columns that are filterable for the model:

```
protected $filterable = [
    // Column names
];
```

\##4. Add filterable casts (options)

Map column names to methods in the model class

```
protected $filterableCasts = [
    // 'column_name' => 'method_name'
];
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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 ~0 days

Total

2

Last Release

2908d ago

### Community

Maintainers

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

---

Top Contributors

[![hellozach](https://avatars.githubusercontent.com/u/8039641?v=4)](https://github.com/hellozach "hellozach (3 commits)")

### Embed Badge

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

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

###  Alternatives

[ruflin/elastica

Elasticsearch Client

2.3k50.4M203](/packages/ruflin-elastica)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M65](/packages/opensearch-project-opensearch-php)[mailerlite/laravel-elasticsearch

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[massive/search-bundle

Massive Search Bundle

721.4M13](/packages/massive-search-bundle)[shyim/opensearch-php-dsl

OpenSearch/Elasticsearch DSL library

175.9M9](/packages/shyim-opensearch-php-dsl)[outl1ne/nova-multiselect-filter

Multiselect filter for Laravel Nova.

45802.7k3](/packages/outl1ne-nova-multiselect-filter)

PHPackages © 2026

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