PHPackages                             your1/qdrant - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. your1/qdrant

ActiveLibrary[HTTP &amp; Networking](/categories/http)

your1/qdrant
============

PHP Client for Qdrant

0.5.3(1y ago)33.5k↓83.3%MITPHPPHP ^7.4CI passing

Since Dec 13Pushed 1y agoCompare

[ Source](https://github.com/YOUR1/qdrant-php7)[ Packagist](https://packagist.org/packages/your1/qdrant)[ RSS](/packages/your1-qdrant/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (9)Versions (5)Used By (0)

Qdrant PHP Client
=================

[](#qdrant-php-client)

[![Test Application](https://github.com/your1/qdrant-php7/actions/workflows/test.yaml/badge.svg)](https://github.com/your1/qdrant-php7/actions/workflows/test.yaml) [![codecov](https://camo.githubusercontent.com/bdfc8f320b77694eabea6eefa01e17afb21ba6bf41b0fd64c0bc94adbdf55c8e/68747470733a2f2f636f6465636f762e696f2f6769746875622f796f7572312f716472616e742d706870372f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d51475833345539435939)](https://codecov.io/github/your1/qdrant-php7)

Note;
=====

[](#note)

***This is a ported version for PHP7.4!***

---

Qdrant is a vector similarity engine &amp; vector database. It deploys as an API service providing search for the nearest high-dimensional vectors. With Qdrant, embeddings or neural network encoders can be turned into full-fledged applications for matching, searching, recommending, and much more!

Installation
============

[](#installation)

You can install the client in your PHP project using composer:

```
composer require your1/qdrant
```

An example to create a collection :

```
use Qdrant\Endpoints\Collections;
use Qdrant\Http\GuzzleClient;
use Qdrant\Models\Request\CreateCollection;
use Qdrant\Models\Request\VectorParams;

include __DIR__ . "/../vendor/autoload.php";
include_once 'config.php';

$config = new \Qdrant\Config(QDRANT_HOST);
$config->setApiKey(QDRANT_API_KEY);

$client = new Qdrant(new GuzzleClient($config));

$createCollection = new CreateCollection();
$createCollection->addVector(new VectorParams(1024, VectorParams::DISTANCE_COSINE), 'image');
$response = $client->collections('images')->create($createCollection);
```

So now, we can insert a point :

```
use Qdrant\Models\PointsStruct;
use Qdrant\Models\PointStruct;
use Qdrant\Models\VectorStruct;

$points = new PointsStruct();
$points->addPoint(
    new PointStruct(
        (int) $imageId,
        new VectorStruct($data['embeddings'][0], 'image'),
        [
            'id' => 1,
            'meta' => 'Meta data'
        ]
    )
);
$client->collections('images')->points()->upsert($points);
```

While upsert data, if you want to wait for upsert to actually happen, you can use query paramaters:

```
$client->collections('images')->points()->upsert($points, ['wait' => 'true']);

```

You can check for more parameters : [https://qdrant.github.io/qdrant/redoc/index.html#tag/points/operation/upsert\_points](https://qdrant.github.io/qdrant/redoc/index.html#tag/points/operation/upsert_points)

Search with a filter :

```
use Qdrant\Models\Filter\Condition\MatchString;
use Qdrant\Models\Filter\Filter;
use Qdrant\Models\Request\SearchRequest;
use Qdrant\Models\VectorStruct;

$searchRequest = (new SearchRequest(new VectorStruct($embedding, 'elev_pitch')))
    ->setFilter(
        (new Filter())->addMust(
            new MatchString('name', 'Palm')
        )
    )
    ->setLimit(10)
    ->setParams([
        'hnsw_ef' => 128,
        'exact' => false,
    ])
    ->setWithPayload(true);

$response = $client->collections('images')->points()->search($searchRequest);
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance41

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 62.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~149 days

Total

4

Last Release

487d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2afbde5126c60557333240dff2896c67b055ab9786571431c7e647981e906c77?d=identicon)[YOUR1](/maintainers/YOUR1)

---

Top Contributors

[![hkulekci](https://avatars.githubusercontent.com/u/586318?v=4)](https://github.com/hkulekci "hkulekci (81 commits)")[![gregpriday](https://avatars.githubusercontent.com/u/1126859?v=4)](https://github.com/gregpriday "gregpriday (20 commits)")[![YOUR1](https://avatars.githubusercontent.com/u/3681016?v=4)](https://github.com/YOUR1 "YOUR1 (20 commits)")[![yunwuxin](https://avatars.githubusercontent.com/u/2168125?v=4)](https://github.com/yunwuxin "yunwuxin (2 commits)")[![mbukovy](https://avatars.githubusercontent.com/u/27806309?v=4)](https://github.com/mbukovy "mbukovy (2 commits)")[![NiCr42](https://avatars.githubusercontent.com/u/18549424?v=4)](https://github.com/NiCr42 "NiCr42 (2 commits)")[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (1 commits)")[![fafiebig](https://avatars.githubusercontent.com/u/499340?v=4)](https://github.com/fafiebig "fafiebig (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/your1-qdrant/health.svg)

```
[![Health](https://phpackages.com/badges/your1-qdrant/health.svg)](https://phpackages.com/packages/your1-qdrant)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M737](/packages/sylius-sylius)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
