Back to browse
GitHub Repository

A self-contained full-text search engine in pure PHP. No extensions, no dependencies.

136 starsPHP

PHP-fts – Full-text search engine in pure PHP, no extensions

by asmodios·May 6, 2026·89 points·27 comments

AI Analysis

●●SolidBig BrainSolve My Problem

BM25 scoring and trigram indexing in pure PHP when Elasticsearch isn't an option.

Strengths
  • O(1) trigram lookup with fixed-size index around 810 KB
  • Honest about limitations - shared hosting, not millions of documents
  • Atomic updates with soft deletes and compaction built in
Weaknesses
  • Not suitable for real-time indexing under heavy concurrent writes
  • Pure PHP search engines exist, though this one's dependency-free
Target Audience

PHP developers on shared hosting without access to Elasticsearch or Meilisearch

Similar To

Meilisearch · Typesense · Elasticsearch

Similar Projects