Better HN
topnewbestaskshowjobs
Log inSign up

asmodios

27 karma · joined Dec 5, 2025 (11mo ago) · 14 submissions

Submissions

1.

Show HN: PHP-fts 2.0 – Pure-PHP full-text search, now in 26 writing systems(github.com ↗)

2 points · by asmodios · 2mo ago · discuss

2.

Show HN: PHP-ruler – strict rule engine in pure PHP, zero deps, explain mode(github.com ↗)

1 points · by asmodios · 5mo ago · discuss

comment 6mo ago · link · parent

Thanks for the suggestion. DuckDB is a great tool, but it requires installing a native extension, which is exactly the scenario php-fts is designed to avoid. The primary target is shared hosting (OVH, Infomaniak, o2switch…) where you have no control over installed extensions. If you can install DuckDB, you can probably also run Meilisearch or Typesense, which are purpose-built for search.

comment 6mo ago · link · parent

Thanks, that was a legitimate omission. I’ve now added transliteration support for Turkish-specific characters (`İ`, `ı`, `Ğ`, `Ş`, etc.) in the normalization layer.

comment 6mo ago · link · parent

The zf1s/zend-search-lucene fork still works and gets occasional updates, but it's essentially legacy maintenance on a PHP 5.3-era codebase. It crashed on PHP 7 for a while, and the original ZF team themselves recommended moving on.

comment 6mo ago · link · parent

Loupe is a great project and more feature-rich than php-fts (stemming, geo, Damerau-Levenshtein typo tolerance). The dependency difference isn't just about Composer packages. Loupe requires pdo_sqlite and SQLite >= 3.35.0, which isn't guaranteed on shared hosting.

comment 6mo ago · link · parent

Thank you for the detailed feedback, it's genuinely valuable.

You're right on all technical points : PHPUnit missing from dev dependencies is an oversight I'll fix, and the Unicode limitations are real and should be clearly documented. The NFD/NFKD case is a good catch.

On the use case: fair point. My motivation came from testing MySQL and SQLite full-text search on a shared OVH hosting : the performance with filters was consistently disappointing. That's the itch this scratches. I understand it doesn't match your experience, and that's perfectly legitimate.

comment 6mo ago · link · parent

Yes, Zend_Search_Lucene was dropped from Zend Framework 2 and never officially maintained for modern PHP. There's a community fork.

9.

Show HN: PHP-fts – Full-text search engine in pure PHP, no extensions(github.com ↗)

89 points · by asmodios · 6mo ago · 27 comments

10.

Show HN: BinaryStorage – High-performance PHP binary key/value store(github.com ↗)

2 points · by asmodios · 11mo ago · discuss