PHPackages                             outl1ne/nova-input-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. [Search &amp; Filtering](/categories/search)
4. /
5. outl1ne/nova-input-filter

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

outl1ne/nova-input-filter
=========================

An input filter for Laravel Nova

3.0.0(1y ago)24822.7k↑16.2%18MITPHPPHP &gt;=8.1CI failing

Since Jan 19Pushed 1y ago5 watchersCompare

[ Source](https://github.com/outl1ne/nova-input-filter)[ Packagist](https://packagist.org/packages/outl1ne/nova-input-filter)[ RSS](/packages/outl1ne-nova-input-filter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (9)Used By (0)

Nova Input Filter
=================

[](#nova-input-filter)

[![Latest Version on Packagist](https://camo.githubusercontent.com/93f2c752703f68651e1d248bab36bff06a319da0ff4508c9b68fc3ff712dcd03/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f75746c316e652f6e6f76612d696e7075742d66696c7465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/outl1ne/nova-input-filter)[![Total Downloads](https://camo.githubusercontent.com/a3aa41120042c28b27ae74d34eff272d7ecdd7c6b11814889ac318d89684c4ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f75746c316e652f6e6f76612d696e7075742d66696c7465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/outl1ne/nova-input-filter)

This [Laravel Nova](https://nova.laravel.com/) package allows you to create simple input filters.

Requirements
------------

[](#requirements)

- `php: >=8.1`
- `laravel/nova: ^5.0`

Features
--------

[](#features)

- Out of the box, works like an additional search field.
- Inline usage for simple use-cases.

Screenshots
-----------

[](#screenshots)

[![Input filter](./docs/input-filter.gif)](./docs/input-filter.gif)

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

[](#installation)

Install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```
composer require outl1ne/nova-input-filter
```

Usage
-----

[](#usage)

Accepts an array of columns as first parameter and filter name as second parameter. Can optionally pass in multiple columns: `['email', 'id']`, similarly to nova's search.

```
use Outl1ne\NovaInputFilter\InputFilter;
use Laravel\Nova\Http\Requests\NovaRequest;

// ..

public function filters(NovaRequest $request): array
{
    return [
        InputFilter::make()->forColumns(['email'])->withName('Email'),

        // Or

        InputFilter::make(['email'], 'email'),
    ];
}
```

Customizing
-----------

[](#customizing)

Out of the box, `InputFilter` works exactly like Nova's search field. If you wish to change it, you can extend the `InputFilter` class and override `apply()` function.

```
use Outl1ne\NovaInputFilter\InputFilter;
use Illuminate\Contracts\Database\Eloquent\Builder;
use Laravel\Nova\Http\Requests\NovaRequest;

class ExtendedInputFilter extends InputFilter
{
    public function apply(NovaRequest $request, Builder $query, mixed $value)
    {
        return $query->where('email', 'like', "%$value%");
    }
}
```

Credits
-------

[](#credits)

- [Kaspar Rosin](https://github.com/kasparrosin)

License
-------

[](#license)

Nova Input Filter is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance41

Moderate activity, may be stable

Popularity51

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 56.3% 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 ~208 days

Recently: every ~228 days

Total

8

Last Release

487d ago

Major Versions

1.1.0 → 2.0.02022-07-19

2.x-dev → 3.x-dev2025-01-17

PHP version history (4 changes)1.0.0PHP &gt;=7.2.0

1.1.0PHP &gt;=7.2.0|&gt;=8.0.0

2.0.0PHP &gt;=8.0

3.x-devPHP &gt;=8.1

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/5c80ca2be0e3f88f4422fae771026154c71332ad8b4dde5ea4fd41807dbbabba?d=identicon)[KasparRosin](/maintainers/KasparRosin)

---

Top Contributors

[![Tarpsvo](https://avatars.githubusercontent.com/u/2018660?v=4)](https://github.com/Tarpsvo "Tarpsvo (18 commits)")[![KasparRosin](https://avatars.githubusercontent.com/u/33309407?v=4)](https://github.com/KasparRosin "KasparRosin (9 commits)")[![Naoray](https://avatars.githubusercontent.com/u/10154100?v=4)](https://github.com/Naoray "Naoray (2 commits)")[![igrik10](https://avatars.githubusercontent.com/u/11075330?v=4)](https://github.com/igrik10 "igrik10 (1 commits)")[![marcoboers](https://avatars.githubusercontent.com/u/3316595?v=4)](https://github.com/marcoboers "marcoboers (1 commits)")[![TheDeadCode](https://avatars.githubusercontent.com/u/1714641?v=4)](https://github.com/TheDeadCode "TheDeadCode (1 commits)")

---

Tags

filterinputlaravellaravel-novanovasearchlaravelfilterinputnovaoutl1nelaravel-nova

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/outl1ne-nova-input-filter/health.svg)

```
[![Health](https://phpackages.com/badges/outl1ne-nova-input-filter/health.svg)](https://phpackages.com/packages/outl1ne-nova-input-filter)
```

###  Alternatives

[optimistdigital/nova-input-filter

An input filter for Laravel Nova

24550.6k2](/packages/optimistdigital-nova-input-filter)[outl1ne/nova-multiselect-filter

Multiselect filter for Laravel Nova.

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

Multiselect filter for Laravel Nova.

45305.4k](/packages/optimistdigital-nova-multiselect-filter)[digital-creative/nova-range-input-filter

A Laravel Nova range input filter.

18209.3k1](/packages/digital-creative-nova-range-input-filter)[outl1ne/nova-detached-filters

This Laravel Nova package allows you to detach filters from the filter dropdown

64343.5k](/packages/outl1ne-nova-detached-filters)[digital-creative/nova-mega-filter

Allows you to control the columns and filters shown on your nova resources.

87159.3k](/packages/digital-creative-nova-mega-filter)

PHPackages © 2026

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