FindSoftware

PHP-FTS

Pure PHP full-text search library that keeps its index in files on disk, with typo tolerance, filters and facets.

php-fts is a full-text search library written in PHP. It keeps its index in a directory of files, so it needs no database and no separate search service. Projects add it with Composer or by copying the source into the project. The README states that a request opens the index directory, reads what it needs and ends, so the library runs inside each request rather than as a process of its own. Documents are stored in that directory in readable form. The library requires PHP 8.1 or higher, and Olivier maintains it.

Worth knowing

The README says to keep the index directory outside the web root, because the documents can be read from its files. The 2.0 release cannot open an index written by the 1.x line, so a 1.x index is rebuilt from the source data.

Identity

Status
Active
Maintainer
Olivier3
Maintained by
Individual
First release
20264

Rendering and deploy

Runs as
Per request2
Install with
composer require2

Releases

Current major version
25
Last release
2026-09-145

Adoption

GitHub stars
1471
Packagist downloads
296
Contributors
17

Why these figures do not compare

Sources

  1. 2026-10-28: links, Written in, GitHub stars
    api.github.com/repos/olivier-ls/php-fts
  2. 2026-10-28: links, Categories, Runtime, Install with, Content storage, Runs as
    github.com/olivier-ls/php-fts/blob/main/README.md
  3. 2026-10-28: Maintainer, License, License model
    github.com/olivier-ls/php-fts/blob/main/LICENSE
  4. 2026-10-28: Minimum runtime, First release
    repo.packagist.org/p2/ols/php-fts.json
  5. 2026-10-28: Current major version, Last release
    api.github.com/repos/olivier-ls/php-fts/releases/latest
  6. 2026-10-28: Packagist downloads
    packagist.org/packages/ols/php-fts.json
  7. 2026-10-28: Contributors
    api.github.com/repos/olivier-ls/php-fts/contributors

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON