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

ActiveLibrary

larafun/filters
===============

Use Filters instead of Requests in your Laravel projects to be more versatile.

0.0.4(5y ago)1159MITPHPPHP &gt;=7.0

Since Jan 13Pushed 5y agoCompare

[ Source](https://github.com/larafun/filters)[ Packagist](https://packagist.org/packages/larafun/filters)[ RSS](/packages/larafun-filters/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (5)Used By (0)

Larafun Filters
===============

[](#larafun-filters)

[![Build Status](https://camo.githubusercontent.com/909cbb2bb3b9a2d30540acd02640edef278b888f97507803f64762d1bdc63512/68747470733a2f2f7472617669732d63692e6f72672f6c61726166756e2f66696c746572732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/larafun/filters)[![Docs Status](https://camo.githubusercontent.com/450a35936992de406417b33964f04f91627c070a6b94b54e7df8c7efb01df079/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f6c61726166756e2d66696c746572732f62616467652f3f76657273696f6e3d6c6174657374)](https://larafun-filters.readthedocs.io)[![Latest Stable Version](https://camo.githubusercontent.com/3938ef2461fd08eedf85ff42e7b4472d0dfd709150429f7fc559c3148435938d/68747470733a2f2f706f7365722e707567782e6f72672f6c61726166756e2f66696c746572732f762f737461626c65)](https://packagist.org/packages/larafun/filters)[![License](https://camo.githubusercontent.com/0dc1cfb75bce623dd53a1fcb88f519d3709d82a37b183e464640e72f4ac848f0/68747470733a2f2f706f7365722e707567782e6f72672f6c61726166756e2f66696c746572732f6c6963656e7365)](https://packagist.org/packages/larafun/filters)[![Total Downloads](https://camo.githubusercontent.com/46042f0a61cf5b801f699dad50b03e09d98339ef678100471216875f5cc640cd/68747470733a2f2f706f7365722e707567782e6f72672f6c61726166756e2f66696c746572732f646f776e6c6f616473)](https://packagist.org/packages/larafun/filters)

Use Filters instead of Requests in your Laravel projects to be more versatile.

Check out the full documentation in here [larafun-filters.readthedocs.io](https://larafun-filters.readthedocs.io)

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

[](#installation)

Requires PHP &gt; 7.0, Laravel &gt; 5.5

```
composer require larafun/filters
```

Basic Usage
-----------

[](#basic-usage)

Just make your Filters extend `Larafun\Filters\Filter`

Why use this package?
---------------------

[](#why-use-this-package)

Because its safer to not bind your Services to the Request.

You may want to use your Services on environments other than http.

```
class BookController extends Controller
{
    // ...

    public function index(BookFilter $filter)
    {
        return $bookServices->search($filter);
    }
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

Total

4

Last Release

1870d ago

PHP version history (2 changes)v0.0.1PHP ^7.0

0.0.4PHP &gt;=7.0

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M211](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[dragon-code/migrate-db

Easy data transfer from one database to another

15717.4k](/packages/dragon-code-migrate-db)

PHPackages © 2026

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