PHPackages                             eliasfernandez/phphinder - 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. eliasfernandez/phphinder

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

eliasfernandez/phphinder
========================

A PHP powered lightweight search engine

v0.1.10-beta(1y ago)1986[2 issues](https://github.com/eliasfernandez/phphinder/issues)1mitPHPCI passing

Since Dec 4Pushed 11mo ago2 watchersCompare

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

READMEChangelogDependencies (6)Versions (16)Used By (1)

PHPhinder
=========

[](#phphinder)

**A lightweight and modular search engine built in PHP.**

[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](LICENSE)
[![Packagist](https://camo.githubusercontent.com/c1b5519b2cc86d37773d7b2512f074adb197aa18ed0946d19cbbb3a471f1b84b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656c6961736665726e616e64657a2f70687068696e6465722e737667)](https://packagist.org/packages/eliasfernandez/phphinder)

---

Table of Contents
-----------------

[](#table-of-contents)

- [About](#about)
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Configuration](#configuration)
- [Examples](#examples)
- [Contributing](#contributing)
- [License](#license)

---

About
-----

[](#about)

PHPhinder is an open-source, lightweight, and modular search engine designed for PHP applications. It provides powerful search capabilities with a focus on simplicity, speed, and extensibility.

---

Features
--------

[](#features)

- **Full-text search** for indexed documents.
- **Support for advanced queries**, including prefix queries, AND/OR/NOT combinations, and field-specific searches.
- **Lightweight and efficient**, with minimal dependencies.
- **Easy integration** with Symfony or other PHP frameworks.
- **Highly extensible**, allowing customization of query parsers and indexers.
- **Fuzzy search**. If no exact matches are found typo tolerance search is triggered

---

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

[](#installation)

Install PHPhinder via Composer:

```
composer require eliasfernandez/phphinder
```

---

Usage
-----

[](#usage)

Here’s a simple example to demonstrate PHPhinder in action:

```
use PHPhinder\Index\JsonStorage;
use PHPhinder\SearchEngine;

$storage = new JsonStorage('var');
$engine = new SearchEngine($storage);

$engine->addDocument(['_id' => 1, 'title' => 'Hi', 'text' => 'Hello world!']);
$engine->flush();
$results = $engine->search('Hello');
print_r($results[1]->getDocument());
```

---

Configuration
-------------

[](#configuration)

PHPhinder offers several configuration options, including custom analyzers, tokenizers, and more. Refer to the [manual](docs/manual.md) for detailed instructions.

---

Contributing
------------

[](#contributing)

Contributions are welcome! Please review the [contribution guidelines](CONTRIBUTING.md) before submitting pull requests.

---

License
-------

[](#license)

PHPhinder is open-source software licensed under the [MIT license](LICENSE).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance49

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity32

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

Every ~8 days

Recently: every ~15 days

Total

14

Last Release

413d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a25d7763a37c3b0f6f11de3faf29fce6c03ebb0338c5347166ed475a1b4e19b8?d=identicon)[eliasfernandez](/maintainers/eliasfernandez)

---

Top Contributors

[![eliasfernandez](https://avatars.githubusercontent.com/u/1588390?v=4)](https://github.com/eliasfernandez "eliasfernandez (32 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/eliasfernandez-phphinder/health.svg)

```
[![Health](https://phpackages.com/badges/eliasfernandez-phphinder/health.svg)](https://phpackages.com/packages/eliasfernandez-phphinder)
```

###  Alternatives

[loupe/loupe

A full text search engine with tokenization, stemming, typo tolerance, filters and geo support based on only PHP and SQLite

497185.2k14](/packages/loupe-loupe)[teamtnt/tntsearch

A fully featured full text search engine written in PHP

3.2k3.0M28](/packages/teamtnt-tntsearch)[shopware/elasticsearch

Elasticsearch for Shopware

153.6M8](/packages/shopware-elasticsearch)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[getcandy/candy-api

API driven E-commerce solution, written in Laravel

4427.9k1](/packages/getcandy-candy-api)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)

PHPackages © 2026

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