PHPackages                             manticoresoftware/buddy-plugin-knn - 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. manticoresoftware/buddy-plugin-knn

AbandonedArchivedLibrary

manticoresoftware/buddy-plugin-knn
==================================

The Buddy KNN doc joiner plugin

v1.x-dev(2y ago)012GPL-2.0-or-laterPHP

Since Jan 5Pushed 2y ago4 watchersCompare

[ Source](https://github.com/manticoresoftware/buddy-plugin-knn)[ Packagist](https://packagist.org/packages/manticoresoftware/buddy-plugin-knn)[ RSS](/packages/manticoresoftware-buddy-plugin-knn/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

buddy-plugin-template
=====================

[](#buddy-plugin-template)

This is an initial template of a plugin for [Buddy](https://github.com/manticoresoftware/manticoresearch-buddy/) that you can use to develop.

How to start
------------

[](#how-to-start)

1. Create a repository from this template.
2. Open `composer.json` and edit it with your plugin name, dependencies, and everything else you need.
3. Run `composer install` to make it work.
4. You need to use our official `manticore-executor`; we strictly recommend using the [Docker](#how-to-use-docker-of-manticore-executor-dev) flow.
5. Edit `src/Payload.php`, add logic to parse the request, and prepare the payload structure for your command processing.
6. Edit `src/Handler.php` and implement processing logic and response that will be proxied by Manticore to the client.

How to use Docker of manticore-executor-dev
-------------------------------------------

[](#how-to-use-docker-of-manticore-executor-dev)

1. Clone [Buddy](https://github.com/manticoresoftware/manticoresearch-buddy/) somewhere to your host machine and go into it.
2. Run this command to create a Docker image named `manticore-buddy`:

    ```
    docker run --privileged --entrypoint bash -v $(pwd):/workdir -w /workdir --name manticore-buddy  --network host -it manticoresearch/manticore-executor-kit:latest
    ```
3. Now you can edit `/etc/manticore.conf` and configure the development version of Buddy:

    ```
    buddy_path = manticore-executor-dev /workdir/src/main.php --debug

    ```
4. Run `searchd --nodetach` to keep the daemon in the foreground and enjoy the development of your new plugin.

Notes
-----

[](#notes)

You can use `pre-commit` to install code style and code analyze hooks by running `pre-commit install`. Check our PHP code style and guide [here](https://github.com/manticoresoftware/php-code-standard).

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity30

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

856d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28718748?v=4)[Manticore Search](/maintainers/manticoresearch)[@manticoresearch](https://github.com/manticoresearch)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/manticoresoftware-buddy-plugin-knn/health.svg)

```
[![Health](https://phpackages.com/badges/manticoresoftware-buddy-plugin-knn/health.svg)](https://phpackages.com/packages/manticoresoftware-buddy-plugin-knn)
```

PHPackages © 2026

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