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 1y ago2 watchersCompare

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

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

27

—

LowBetter than 47% of packages

Maintenance42

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity33

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

468d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1588390?v=4)[Elías Fernández](/maintainers/eliasfernandez)[@eliasfernandez](https://github.com/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

508254.9k27](/packages/loupe-loupe)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M223](/packages/backpack-crud)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[shopware/elasticsearch

Elasticsearch for Shopware

153.9M19](/packages/shopware-elasticsearch)

PHPackages © 2026

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