PHPackages                             bvdputte/kirby-bettersearch - 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. bvdputte/kirby-bettersearch

ActiveKirby-plugin[Search &amp; Filtering](/categories/search)

bvdputte/kirby-bettersearch
===========================

A search plugin for Kirby (v3+ that searches for full word combinations rather than just individual words.

2.1.3(1y ago)223.7k1[1 PRs](https://github.com/bvdputte/kirby-bettersearch/pulls)MITPHP

Since Dec 6Pushed 5mo ago3 watchersCompare

[ Source](https://github.com/bvdputte/kirby-bettersearch)[ Packagist](https://packagist.org/packages/bvdputte/kirby-bettersearch)[ Docs](https://github.com/bvdputte/kirby-bettersearch/)[ RSS](/packages/bvdputte-kirby-bettersearch/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (9)Dependencies (1)Versions (8)Used By (0)

Kirby Bettersearch plugin
=========================

[](#kirby-bettersearch-plugin)

A search plugin for Kirby 3 that searches for full word combinations rather than just individual words.

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

[](#installation)

- unzip [master.zip](https://github.com/bvdputte/kirby-bettersearch/archive/master.zip) as folder `site/plugins/kirby-bettersearch` or
- `git submodule add https://github.com/bvdputte/kirby-bettersearch.git site/plugins/kirby-bettersearch` or
- `composer require bvdputte/kirby-bettersearch`

Usage
-----

[](#usage)

Instead of the default `$pages` [search method](https://getkirby.com/docs/reference/objects/pages/search), use `$pages->bettersearch($querystring, $options)` or `$site->bettersearch($querystring, $options)` instead.

Since we're looking for *full query matches*, following options have been removed:

- stopwords
- minlength
- words

customIndexer
-------------

[](#customindexer)

If you need to manipulate the `content` somehow, you can now pass a `customIndexer` function into the bettersearch function to alter the content.

Disclaimer
----------

[](#disclaimer)

This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please [create a new issue](https://github.com/bvdputte/kirby-bettersearch/issues/new).

License
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT)

It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance59

Moderate activity, may be stable

Popularity29

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~334 days

Recently: every ~212 days

Total

7

Last Release

434d ago

Major Versions

1.0.1 → 2.0.02023-02-04

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/490505?v=4)[Bart Vandeputte](/maintainers/bvdputte)[@bvdputte](https://github.com/bvdputte)

---

Top Contributors

[![bvdputte](https://avatars.githubusercontent.com/u/490505?v=4)](https://github.com/bvdputte "bvdputte (12 commits)")

---

Tags

searchkirby3kirby4kirby3-pluginkirby4-plugin

### Embed Badge

![Health badge](/badges/bvdputte-kirby-bettersearch/health.svg)

```
[![Health](https://phpackages.com/badges/bvdputte-kirby-bettersearch/health.svg)](https://phpackages.com/packages/bvdputte-kirby-bettersearch)
```

###  Alternatives

[elasticsearch/elasticsearch

PHP Client for Elasticsearch

5.3k190.3M1.1k](/packages/elasticsearch-elasticsearch)[ruflin/elastica

Elasticsearch Client

2.3k53.1M236](/packages/ruflin-elastica)[solarium/solarium

PHP Solr client

93235.0M125](/packages/solarium-solarium)[getkirby/cms

The Kirby core

1.5k606.6k535](/packages/getkirby-cms)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15730.1M135](/packages/opensearch-project-opensearch-php)[bvdputte/kirby-autopublish

Kirby plugin to schedule the automatic publishing of pages on a certain date+time. It is built to work with enabled cache.

359.7k](/packages/bvdputte-kirby-autopublish)

PHPackages © 2026

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