# PHP-FTS

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


Source: https://findsoftware.frbit.cloud/php-fts/
Last reviewed: 2026-10-28
Listed since: 2026-10-28

## Record

### Links

- repository: https://github.com/olivier-ls/php-fts
- docs: https://github.com/olivier-ls/php-fts/blob/main/README.md

### Identity

- status: active
- maintainer: Olivier
- maintainerType: individual
- parent: unknown
- firstRelease: 2026
- hqCountry: unknown

### Kind

- category: search
- hosting: php
- language: php
- runtime: php
- runtimeMin: php 8.1
- basedOn: unknown

### Content

- contentStore: flat-file
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: per-request
- renderingModes: not applicable
- installMethod: composer require

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 2
- latestReleaseDate: 2026-09-14

### Adoption

- githubStargazers: 147
- packagistDownloads: 29
- npmWeeklyDownloads: not applicable
- contributors: 1
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://api.github.com/repos/olivier-ls/php-fts (read 2026-10-28)
- urls: https://github.com/olivier-ls/php-fts/blob/main/README.md (read 2026-10-28)
- maintainer: https://github.com/olivier-ls/php-fts/blob/main/LICENSE (read 2026-10-28)
- license: https://github.com/olivier-ls/php-fts/blob/main/LICENSE (read 2026-10-28)
- licenseModel: https://github.com/olivier-ls/php-fts/blob/main/LICENSE (read 2026-10-28)
- language: https://api.github.com/repos/olivier-ls/php-fts (read 2026-10-28)
- category: https://github.com/olivier-ls/php-fts/blob/main/README.md (read 2026-10-28)
- runtime: https://github.com/olivier-ls/php-fts/blob/main/README.md (read 2026-10-28)
- runtimeMin: https://repo.packagist.org/p2/ols/php-fts.json (read 2026-10-28)
- installMethod: https://github.com/olivier-ls/php-fts/blob/main/README.md (read 2026-10-28)
- installMethod: https://github.com/olivier-ls/php-fts/blob/main/README.md (read 2026-10-28)
- contentStore: https://github.com/olivier-ls/php-fts/blob/main/README.md (read 2026-10-28)
- runsAs: https://github.com/olivier-ls/php-fts/blob/main/README.md (read 2026-10-28)
- currentMajor: https://api.github.com/repos/olivier-ls/php-fts/releases/latest (read 2026-10-28)
- latestReleaseDate: https://api.github.com/repos/olivier-ls/php-fts/releases/latest (read 2026-10-28)
- firstRelease: https://repo.packagist.org/p2/ols/php-fts.json (read 2026-10-28)
- packagistDownloads: https://packagist.org/packages/ols/php-fts.json (read 2026-10-28)
- githubStargazers: https://api.github.com/repos/olivier-ls/php-fts (read 2026-10-28)
- contributors: https://api.github.com/repos/olivier-ls/php-fts/contributors (read 2026-10-28)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
