Adding vector search to PHP 7.2: I ended up building a Qdrant client
Hi everyone,
I recently needed to add content recommendations to a legacy project that still runs on PHP 7.2.
Qdrant was a good fit, but the PHP clients I found required newer PHP versions. Upgrading the entire application wasn’t realistic in the short term, so I built a small Qdrant client myself.
It supports:
PHP 7.2+
collections and point operations
vector search and filters
batch search
recommendations
payload management and scrolling
Installation:
composer require tenqz/qdrant
Repository:
https://github.com/tenqz/qdrant
The main use cases I had in mind were semantic search, similar content or product recommendations, duplicate detection, automatic categorization, and adding basic RAG features to older PHP applications.
The library only handles communication with Qdrant. Embeddings can come from OpenAI, Ollama, or any other local or hosted model.
I’d appreciate feedback from PHP and Qdrant users:
Is PHP 7.2 compatibility still useful for real-world projects?
Which Qdrant features would you expect from a PHP client?
Would you prefer PSR-18 support, or is a small cURL-based client easier to use?
Critical feedback is welcome.
Posted Jul 23, 2026, 5:13 AM UTC