jacksleight/statamic-distill
Larablocks Analysis
jacksleight/statamic-distill works with Laravel 12 and 13 (latest release 1.3.1, Nov 2, 2026).
Recommendation checks
Solid choiceSolid choice: maintained and up to date, meets 2 of 4 checks; below the bar for Recommended on use.
- Works with Laravel 13, the current version
- Released in the last 12 months (Nov 2, 2026)
- 1,982 downloads a month (needs 10,000)
- 14 GitHub stars (needs 100)
State
Actively maintained- Last stable release: Nov 2, 2026.
- 3 releases in the last 12 months.
- First released: Mar 29, 2023.
- Monthly downloads: 1,982.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.
| Install | |
|---|---|
composer require jacksleight/statamic-distill |
|
| Latest Version: | 1.3.1 |
| Laravel: | 12 · 13 |
| License: | MIT |
| Last Updated: | Nov 2, 2026 |
| Links: | GitHub · Packagist |
Distill
This Statamic addon allows you to filter, fetch or index the individual values, sets and relations within your entries, from both root and deeply nested fields. It's useful for things like:
- Extracting the text from every Bard field within a replicator
- Finding every asset in the page, or just the first image
- Filtering, sorting and paginating a Grid field or raw array just like a collection
- Adding individual sections of a page to a search index
- Refactoring nested data and sets
Examples
Here are a few examples of what's possible. For more information and more examples check the documentation.
Find every image in the page
{{ distill:page type="asset:*" is_image:is="true" unique="true" }}
<img src="https://raw.githubusercontent.com/jacksleight/statamic-distill/HEAD/{{ url }}" alt="{{ alt }}">
{{ /distill:page }}
Extract all Bard text from a page builder
{{ { distill:bard from="builder" } | bard_text }}
Filter, sort and paginate a Grid field
{{ distill:parts_list depth="1" paginate="10" :category:is="get:category" :sort="get:sort" }}
{{ items }}
{{ name }} {{ price }}
{{ /items }}
{{ paginate }}
<a href="https://github.com/jacksleight/statamic-distill/blob/HEAD/{{ prev_page }}">←</a>
<a href="https://github.com/jacksleight/statamic-distill/blob/HEAD/{{ next_page }}">→</a>
{{ /paginate }}
{{ /distill:parts_list }}
Find every video set in an entry
use JackSleight\StatamicDistill\Facades\Distill;
$videos = Distill::query($entry)
->type('set:video')
->where('url', 'like', '%youtube.com%')
->get();
Documentation
Statamic Distill Documentation
Sponsoring
This addon is completely free to use. However fixing bugs, adding features and helping users takes time and effort. If you find this addon useful and would like to support its development any contribution would be greatly appreciated. Thanks! 🙂
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | License |
|---|---|---|
| 1.3.1 | MIT | |
| 1.3.0 | ||
| 1.2.0 | ||
| 1.1.1 | ||
| 1.1.0 | ||
| 1.0.0 | ||
| 0.8.5 | ||
| 0.8.4 | ||
| 0.8.3 | ||
| 0.8.2 | ||
| 0.8.1 | ||
| 0.8.0 | ||
| 0.7.2 | ||
| 0.7.1 | ||
| 0.7.0 | ||
| 0.6.4 | ||
| 0.6.3 | ||
| 0.6.2 | ||
| 0.6.1 | ||
| 0.6.0 | ||
| 0.5.0 | ||
| 0.4.3 | ||
| 0.4.2 | ||
| 0.4.1 | ||
| 0.4.0 | ||
| 0.3.1 | ||
| 0.3.0 | ||
| 0.2.0 | ||
| 0.1.1 | ||
| 0.1.0 |