Registry / networking / hyperf-elasticsearch

hyperf-elasticsearch

JSON →
library3.1.63phppackagistunverified

Elasticsearch client for hyperf

composer require hyperf/elasticsearch
INSTALL
IMPORT
SIG · HYPERF-ELASTICSEAR
H
hyperf-elasticsearch
networkingphpv3.1.63
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ClientBuilder
use Hyperf\Elasticsearch\ClientBuilder;

Create an Elasticsearch client and fetch cluster info.

use Hyperf\Elasticsearch\ClientBuilder; $client = ClientBuilder::create()->setHosts(['localhost:9200'])->build(); $info = $client->info(); echo $info['version']['number'];
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.1.63latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
24
Resources
hyperf-elasticsearch — pip install hyperf-elasticsearch · libregistry