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.6k1[1 PRs](https://github.com/bvdputte/kirby-bettersearch/pulls)MITPHP

Since Dec 6Pushed 4mo 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 3w 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

45

—

FairBetter than 91% of packages

Maintenance64

Regular maintenance activity

Popularity29

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

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

389d 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.3k184.2M1.1k](/packages/elasticsearch-elasticsearch)[ruflin/elastica

Elasticsearch Client

2.3k51.7M218](/packages/ruflin-elastica)[solarium/solarium

PHP Solr client

93433.9M112](/packages/solarium-solarium)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15227.1M102](/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.

358.7k](/packages/bvdputte-kirby-autopublish)[arnoson/kirby-vite

Vite helper for Kirby CMS

9763.1k3](/packages/arnoson-kirby-vite)

PHPackages © 2026

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