PHPackages                             hyperf/qdrant-client - 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. [API Development](/categories/api)
4. /
5. hyperf/qdrant-client

ActiveLibrary[API Development](/categories/api)

hyperf/qdrant-client
====================

v0.0.3(1y ago)413.3k↓33.5%21MITPHPPHP &gt;=8.0

Since Jul 30Pushed 1y ago3 watchersCompare

[ Source](https://github.com/hyperf/qdrant-client)[ Packagist](https://packagist.org/packages/hyperf/qdrant-client)[ Fund](https://hyperf.wiki/#/zh-cn/donate)[ Fund](https://opencollective.com/hyperf)[ RSS](/packages/hyperf-qdrant-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (10)Versions (4)Used By (1)

Hyperf Qdrant Client
====================

[](#hyperf-qdrant-client)

Install
-------

[](#install)

```
composer require hyperf/qdrant-client
```

Usage
-----

[](#usage)

An example to create a collection:

```
use App\VectorStore\Qdrant\Config;
use Hyperf\Qdrant\Api\Collections;
use Hyperf\Qdrant\Api\Points;
use Hyperf\Qdrant\Connection\HttpClient;
use Hyperf\Qdrant\Struct\Collections\Enums\Distance;
use Hyperf\Qdrant\Struct\Collections\VectorParams;
use Hyperf\Qdrant\Struct\Points\ExtendedPointId;
use Hyperf\Qdrant\Struct\Points\Point\PointStruct;
use Hyperf\Qdrant\Struct\Points\SearchCondition\FieldCondition;
use Hyperf\Qdrant\Struct\Points\SearchCondition\Filter;
use Hyperf\Qdrant\Struct\Points\SearchCondition\Match\MatchValue;
use Hyperf\Qdrant\Struct\Points\VectorStruct;

$client = new HttpClient(new Config(...));

$collections = new Collections($client);
$collections->createCollection('test_collection', new VectorParams(1536, Distance::COSINE));

# insert vector data
$points = new Points($client);
$points->setWait(true);
$points->upsertPoints('test_collection', [
    new PointStruct(
        new ExtendedPointId($key + 10000),
        new VectorStruct($data['embeddings'][0]),
        [
            # payload
            'name' => $data['name'],
            'description' => $data['description'],
            'image' => $data['image'],
        ],
    ),
]);

# similarity search
$result = $points->searchPoints(
    'test_collection',
    new VectorStruct($data['embeddings'][0]),
    3,
    withPayload: new WithPayload(true),
);
print_r($result);

# payload filter
$result = $points->searchPoints(
    'test_collection',
    new VectorStruct($data['embeddings'][0]),
    3,
    new Filter(
        must: [
            new FieldCondition('name', new MatchValue('qdrant')),
        ]
    ),
    withPayload: new WithPayload(true),
);
print_r($result);
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance43

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.7% 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 ~306 days

Total

3

Last Release

458d ago

PHP version history (2 changes)v0.0.1PHP &gt;=8.1

v0.0.2PHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44228082?v=4)[Hyperf Community](/maintainers/hyperf)[@hyperf](https://github.com/hyperf)

---

Top Contributors

[![assert6](https://avatars.githubusercontent.com/u/28561563?v=4)](https://github.com/assert6 "assert6 (11 commits)")[![huangzhhui](https://avatars.githubusercontent.com/u/12077148?v=4)](https://github.com/huangzhhui "huangzhhui (5 commits)")[![huanghantao](https://avatars.githubusercontent.com/u/22836925?v=4)](https://github.com/huanghantao "huanghantao (1 commits)")

---

Tags

phphyperfqdrant

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  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)[sylius/sylius

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

8.5k5.9M738](/packages/sylius-sylius)[tempest/framework

The PHP framework that gets out of your way.

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

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.7k409.0k6](/packages/theodo-group-llphant)[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)

PHPackages © 2026

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