PHPackages                             thoughtco/zinc-search - 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. thoughtco/zinc-search

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

thoughtco/zinc-search
=====================

10PHP

Since Jun 28Pushed 2y ago6 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

ZincSearch
==========

[](#zincsearch)

> ZincSearch is a Statamic addon to speed up your listing views in the control by using the power of [ZincSearch](https://zincsearch-docs.zinc.dev).

Features
--------

[](#features)

This addon makes your control panel listings go super-dooper-fast.

How to Install
--------------

[](#how-to-install)

Ensure you have a working [ZincSearch installation](https://zincsearch-docs.zinc.dev/installation/).

Run the following command from your project root:

```
composer require thoughtco/zinc-search
```

Add the `zincsearch` driver to the drivers array in `config/statamic/search.php`:

```
        'zincsearch' => [
             'credentials' => [
                'url' => env('ZINCSEARCH_URL', ''),
                'username' => env('ZINCSEARCH_USERNAME', ''),
                'password' => env('ZINCSEARCH_PASSWORD', ''),
            ],
        ],
```

Add the variables to your `.env` file for `ZINCSEARCH_URL`, `ZINCSEARCH_USERNAME` and `ZINCSEARCH_PASSWORD`.

How to Use
----------

[](#how-to-use)

Set up a search index for the collection e.g.

```
'pages' => [
    'driver' => 'zincsearch',
    'searchables' => ['collection:pages'],
    'fields' => ['id', 'title', 'url', 'content', 'status'],
    'searchable_fields' => ['title, 'slug'],
    'settings' => [],
],
```

Then apply this to your collection YAML definition with a key of search\_index e.g.

```
title: Pages
revisions: false
title_format: null
sort_by: title
sort_dir: asc
preview_targets:
  -
    label: Entry
    url: '{permalink}'
structure:
  root: true
search_index: pages
```

Antlers / Front end
-------------------

[](#antlers--front-end)

To make use of this use the speed of this search in your front end, use the `search_index` tag instead of `collection`.

e.g.

```
{{ search:results index="pages" supplement_data="false" for="*" as="results" limit="10" offset="0" paginate="10" }}
    {{ if no_results }}
    No results
    {{ else }}
        {{ results }}
        {{ id }} - {{ title }}
        {{ /results }}
    {{ /if }}
{{ /search:results }}
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/51899?v=4)[Ryan Mitchell](/maintainers/ryanmitchell)[@ryanmitchell](https://github.com/ryanmitchell)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/thoughtco-zinc-search/health.svg)

```
[![Health](https://phpackages.com/badges/thoughtco-zinc-search/health.svg)](https://phpackages.com/packages/thoughtco-zinc-search)
```

###  Alternatives

[ruflin/elastica

Elasticsearch Client

2.3k50.4M202](/packages/ruflin-elastica)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M65](/packages/opensearch-project-opensearch-php)[mailerlite/laravel-elasticsearch

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[massive/search-bundle

Massive Search Bundle

721.4M13](/packages/massive-search-bundle)[shyim/opensearch-php-dsl

OpenSearch/Elasticsearch DSL library

175.9M9](/packages/shyim-opensearch-php-dsl)[outl1ne/nova-multiselect-filter

Multiselect filter for Laravel Nova.

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

PHPackages © 2026

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