Download the PHP package cboxdk/statamic-filter-builder without Composer
On this page you can find all versions of the php package cboxdk/statamic-filter-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cboxdk/statamic-filter-builder
More information about cboxdk/statamic-filter-builder
Files in cboxdk/statamic-filter-builder
Package statamic-filter-builder
Short Description Build advanced collection filters and sort orders through the Statamic control panel.
License MIT
Homepage https://github.com/cboxdk/statamic-filter-builder
Informations about the package statamic-filter-builder
Filter Builder for Statamic
A Statamic addon that lets you build dynamic collection filters and sort orders through the control panel. Define which fields can be filtered, set operators and values (including dynamic Antlers variables), and apply them to your collection tags — all without writing custom query scopes.
The Problem
You want editors to control which entries appear in a listing — filtering by category, date range, or status — without hardcoding query parameters in templates or writing custom scopes for every use case.
The Solution
Add the filter_builder fieldtype to your blueprint, select which collections it applies to, and editors get a visual filter builder in the CP:
Then use it in your templates:
Site Builder Pattern
Use field mode to let editors choose both the collection and its filters dynamically — ideal for reusable listing components:
Features
- Filter Builder fieldtype — visual UI for building collection filters with field-aware operators
- Sort Builder fieldtype — companion field for defining sort orders
- Dynamic variables — reference Antlers cascade values in filter conditions
- Relationship support — filter by entries, terms, and users fields
- Auto-scope injection — automatically adds the query scope when
filter_builderparam is present
Quick Start
No config files, no publishing, no migrations.
Documentation
See DOCUMENTATION.md for full setup guide, field type reference, template usage, and configuration options.
Requirements
- PHP 8.2+
- Statamic 6.x
- Laravel 12+
Development
License
MIT
Credits
Originally designed and developed by Sylvester Damgaard while working at TV2 Regionerne. Now maintained and actively developed under Cbox with a full rewrite for Statamic 6, Laravel 12, and Vue 3.