PHPackages                             tv2regionerne/statamic-filter-builder - 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. tv2regionerne/statamic-filter-builder

ActiveLibrary

tv2regionerne/statamic-filter-builder
=====================================

v1.15.2(1y ago)47.0k↓37.1%1PHPCI failing

Since Nov 13Pushed 1y ago4 watchersCompare

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

READMEChangelog (10)Dependencies (6)Versions (30)Used By (0)

Statamic Filter Builder Addon
=============================

[](#statamic-filter-builder-addon)

Elevate your Statamic experience with the Filter Builder addon, a robust tool for crafting dynamic data queries and enriching the content management capabilities of your website.

This addon is perfect for developers and content managers who value precision and flexibility in displaying data within their site's architecture.

Installation via Composer
-------------------------

[](#installation-via-composer)

The Statamic Filter Builder is installed using Composer:

```
composer require tv2regionerne/statamic-filter-builder
```

Empower Your Content with Dynamic Data Filtering
------------------------------------------------

[](#empower-your-content-with-dynamic-data-filtering)

By adding a filter builder field to your publishing forms, you unlock the ability to create sophisticated filtering rules that dynamically control what data is shown in each part of your site, such as specific sections or components.

[![](images/filter-builder.png)](images/filter-builder.png)

Field Configuration in Blueprint
--------------------------------

[](#field-configuration-in-blueprint)

When configuring the `Data Feed Filters` field within a blueprint you may select the collection to pick the fields from.

### Configuration Options:

[](#configuration-options)

- **Collections**: Define the collections to pick the blueprint(s) from. The fields found in the blueprint(s) can be used to create the filters.

[![](images/fieldtype-setup.png)](images/fieldtype-setup.png)

Unleash Advanced Functionality with Antlers
-------------------------------------------

[](#unleash-advanced-functionality-with-antlers)

For those who seek advanced control, this addon leverages Antlers, Statamic's templating language, enabling you to inject dynamic variables directly into your queries.

Variables can be sourced from the Cascade of Antlers, allowing you to use elements like `{{ page.title }}` as a dynamic value in your filtering logic.

### Advanced Use Case Example:

[](#advanced-use-case-example)

Imagine you want to display articles that share the same location as the current page. The Antlers code for this would be something like this:

```
{{ page.locations | pluck('id') | to_json }}
```

By using `pluck('id')`, you ensure that the returned data is a flat array of IDs, not a complex structure. This array can then be used as a filter parameter to display a list of articles related by location, maintaining a clean and optimized data structure.

Here’s how to apply this advanced filter within your template:

```
{{ collection:articles :filter_builder="my_filter_builder_field_handle" }}

{{ /collection:articles }}
```

Note: the filter builder requires a query scope behind the scenes, so will not work alongside a query\_scope parameter.

You may combine the dynamic Filter Builder query with filter parameters.

The Statamic Filter Builder addon is your pathway to creating a responsive and context-aware website, where content curation is as intelligent as it is effortless.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance42

Moderate activity, may be stable

Popularity29

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.6% 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 ~26 days

Recently: every ~58 days

Total

18

Last Release

467d ago

### Community

Maintainers

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

---

Top Contributors

[![jacksleight](https://avatars.githubusercontent.com/u/126740?v=4)](https://github.com/jacksleight "jacksleight (45 commits)")[![sylvesterdamgaard](https://avatars.githubusercontent.com/u/2431914?v=4)](https://github.com/sylvesterdamgaard "sylvesterdamgaard (11 commits)")[![ryanmitchell](https://avatars.githubusercontent.com/u/51899?v=4)](https://github.com/ryanmitchell "ryanmitchell (5 commits)")[![duncanmcclean](https://avatars.githubusercontent.com/u/19637309?v=4)](https://github.com/duncanmcclean "duncanmcclean (1 commits)")

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/tv2regionerne-statamic-filter-builder/health.svg)

```
[![Health](https://phpackages.com/badges/tv2regionerne-statamic-filter-builder/health.svg)](https://phpackages.com/packages/tv2regionerne-statamic-filter-builder)
```

###  Alternatives

[statamic/statamic

Statamic

824170.4k](/packages/statamic-statamic)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[statamic/ssg

Generate static sites with Statamic.

254302.4k](/packages/statamic-ssg)[statamic/eloquent-driver

Allows you to store Statamic data in a database.

125598.8k7](/packages/statamic-eloquent-driver)[statamic/seo-pro

65440.7k](/packages/statamic-seo-pro)[rias/statamic-redirect

28298.4k](/packages/rias-statamic-redirect)

PHPackages © 2026

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