PHPackages                             hasanmertermis/milvus-php-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hasanmertermis/milvus-php-client

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hasanmertermis/milvus-php-client
================================

Milvus 2 Grpc Php Client

v1.0.8(2y ago)142.1k2[1 issues](https://github.com/hsnmrtermis/milvus-php-client/issues)MITPHPPHP &gt;=7.4

Since Apr 16Pushed 2y ago2 watchersCompare

[ Source](https://github.com/hsnmrtermis/milvus-php-client)[ Packagist](https://packagist.org/packages/hasanmertermis/milvus-php-client)[ RSS](/packages/hasanmertermis-milvus-php-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (10)Used By (0)

Milvus Php Client
=================

[](#milvus-php-client)

Milvus 2.2 gRPC Php Client.

### [Documentation](https://hasan-mert-ermis.gitbook.io/main/milvus-2-grpc-php-client)

[](#documentation)

Compatibility
-------------

[](#compatibility)

---

PhpMilvus7.42.xInstallation
------------

[](#installation)

---

Run composer on the terminal `composer require hasanmertermis/milvus-php-client` or composer.json add `hasanmertermis/milvus-php-client`

Example
-------

[](#example)

---

### Client

[](#client)

---

```
use Hasanmertermis\MilvusPhpClient\Domain\Milvus;
$client = new Milvus();
```

### Connections

[](#connections)

---

**connection** methods sets the connection parameters.İf parameters are not set host=localhost, port=19530 sets. But if the parameters are set, the host name and port are set as you entered.

```
use Hasanmertermis\MilvusPhpClient\Domain\Milvus;

//Default use
$client = new Milvus();
$client->connection("example.com", 19530);
```

**getConnectionInfo()** method gets the connection parameters and isConnected info.

**Response**

```
[
'host' => "localhost",
'port' => 19530,
'isConnected' => false
];
```

Crud Operations
---------------

[](#crud-operations)

---

### Insert

[](#insert)

---

```
