PHPackages                             matthewbdaly/zendsearch - 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. matthewbdaly/zendsearch

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

matthewbdaly/zendsearch
=======================

A fork of zendframework/zendsearch, with some tweaks to make it work in PHP 7

0.0.3(6y ago)1212.2k↑11.6%1BSD-3-ClausePHPPHP &gt;=7.1

Since May 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/matthewbdaly/ZendSearch)[ Packagist](https://packagist.org/packages/matthewbdaly/zendsearch)[ RSS](/packages/matthewbdaly-zendsearch/feed)WikiDiscussions master Synced 1mo ago

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

ZendSearch component
====================

[](#zendsearch-component)

[![Build Status](https://camo.githubusercontent.com/529523f34fa976fee80cca91cb33f3377973845de57f6f35bea65ac3972ad0df/68747470733a2f2f7472617669732d63692e6f72672f6d6174746865776264616c792f5a656e645365617263682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/matthewbdaly/ZendSearch)[![Coverage Status](https://camo.githubusercontent.com/d08a05cfff49e45cfb488a38bd3bcd075ad664d39170d52c5529f6b9437c68fc/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d6174746865776264616c792f5a656e645365617263682f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/matthewbdaly/ZendSearch?branch=master)

Fork of `zendframework/zendsearch`.

The goal of this project is primarily to maintain a version of the original package that will work on newer PHP versions. It's not to:

- Add any additional functionality
- Maintain any sort of compatibility with Lucene
- Extend the scope of the original in any way

As such, any pull requests that do this WILL be rejected. However, if you want to use this project as a starting point for your own fork, be my guest.

However, in the long term I'd like to improve the quality of the package. As such, pull requests that do the following are welcome:

- Fix gaps in test coverage
- Fix potential errors identified by Psalm
- Fix any PSR 2 code style issues
- Updates to DocBlocks

Why are you doing this?
-----------------------

[](#why-are-you-doing-this)

While the original package has been abandoned and they recommend using something like Elasticsearch instead, that is often overkill for many sites. There's `teamtnt/tntsearch`, but that lacks features such as the ability to index Powerpoint documents. The main project I work on professionally at time of writing is an example of a site that may benefit from this package, in that it's arguably too small to be worth bothering with Elasticsearch, but using relational databases to search it is inadequate.

Basically, there is a use case for a pure PHP search solution with no dependencies, but there exist very few other suitable implementations, and this was an existing package that could be forked and updated somewhat, and that's good enough for me. I don't have the sort of specialist knowledge in Lucene necessary to develop this further, but I can update it to work in newer PHP versions and maybe fix some issues with the code base.

How do I use this?
------------------

[](#how-do-i-use-this)

Refer to the original [Zend documentation](https://framework.zend.com/manual/1.12/en/zend.search.lucene.html). I didn't write this code originally, and am maintaining this fork merely because I think it's potentially useful for me, so I can't offer any real support for it.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~73 days

Total

3

Last Release

2424d ago

### Community

Maintainers

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

---

Top Contributors

[![matthewbdaly](https://avatars.githubusercontent.com/u/450801?v=4)](https://github.com/matthewbdaly "matthewbdaly (53 commits)")[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (22 commits)")[![Maks3w](https://avatars.githubusercontent.com/u/1301698?v=4)](https://github.com/Maks3w "Maks3w (18 commits)")[![prolic](https://avatars.githubusercontent.com/u/394428?v=4)](https://github.com/prolic "prolic (14 commits)")[![ralphschindler](https://avatars.githubusercontent.com/u/76674?v=4)](https://github.com/ralphschindler "ralphschindler (6 commits)")[![DASPRiD](https://avatars.githubusercontent.com/u/233300?v=4)](https://github.com/DASPRiD "DASPRiD (4 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (3 commits)")[![blanchonvincent](https://avatars.githubusercontent.com/u/1580512?v=4)](https://github.com/blanchonvincent "blanchonvincent (3 commits)")[![thomasweidner](https://avatars.githubusercontent.com/u/424710?v=4)](https://github.com/thomasweidner "thomasweidner (2 commits)")[![butonic](https://avatars.githubusercontent.com/u/956847?v=4)](https://github.com/butonic "butonic (2 commits)")[![sasezaki](https://avatars.githubusercontent.com/u/42755?v=4)](https://github.com/sasezaki "sasezaki (2 commits)")[![akrabat](https://avatars.githubusercontent.com/u/33135?v=4)](https://github.com/akrabat "akrabat (1 commits)")[![euskadi31](https://avatars.githubusercontent.com/u/195383?v=4)](https://github.com/euskadi31 "euskadi31 (1 commits)")[![GeLoLabs](https://avatars.githubusercontent.com/u/149005863?v=4)](https://github.com/GeLoLabs "GeLoLabs (1 commits)")[![LukasReschke](https://avatars.githubusercontent.com/u/878997?v=4)](https://github.com/LukasReschke "LukasReschke (1 commits)")[![b-durand](https://avatars.githubusercontent.com/u/554218?v=4)](https://github.com/b-durand "b-durand (1 commits)")[![moust](https://avatars.githubusercontent.com/u/1053102?v=4)](https://github.com/moust "moust (1 commits)")[![pavelkouril](https://avatars.githubusercontent.com/u/636912?v=4)](https://github.com/pavelkouril "pavelkouril (1 commits)")[![rtuin](https://avatars.githubusercontent.com/u/360150?v=4)](https://github.com/rtuin "rtuin (1 commits)")

---

Tags

zf2lucene

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm, Rector

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/matthewbdaly-zendsearch/health.svg)

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

###  Alternatives

[handcraftedinthealps/zendsearch

a general purpose text search engine written entirely in PHP 5

39921.0k35](/packages/handcraftedinthealps-zendsearch)[mmanos/laravel-search

A search package for Laravel 5.

36475.7k1](/packages/mmanos-laravel-search)[minimalcode/search

Fluent Lucene-Sorl Query Builder for PHP

26501.8k6](/packages/minimalcode-search)[ripaclub/sphinxsearch

Sphinx Search library provides SphinxQL indexing and searching features

6232.2k3](/packages/ripaclub-sphinxsearch)[dachcom-digital/lucene-search

Pimcore 5.x Website Indexer (powered by Zend Search Lucene)

2640.3k](/packages/dachcom-digital-lucene-search)[dmk/mksearch

Generic highly adjustable and extendable search engine framework, using Zend Lucene, Apache Solr or ElasticSearch. But support for other search engines can be provided easily.

1330.6k](/packages/dmk-mksearch)

PHPackages © 2026

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