PHPackages                             xoscan/zincsearch-es - 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. xoscan/zincsearch-es

ActiveLibrary

xoscan/zincsearch-es
====================

PHP Client for Zincsearch Reference Elasticsearch API

02PHP

Since Mar 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/xscan/ZincsearchEs)[ Packagist](https://packagist.org/packages/xoscan/zincsearch-es)[ RSS](/packages/xoscan-zincsearch-es/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

#### 例子

[](#例子)

```
use ZincsearchEs\ClientBuilder;

$client = ClientBuilder::create()
    ->setHosts(['localhost:4080'])
    ->setApiKey("you-zincsearch-apikey")
    ->build();

$hosts = array("localhost:4080");
$apikey=""you-zincsearch-apikey";
$esClient = ClientBuilder::create()->setHosts($hosts)->setApiKey($apikey)->build();
$market_data  = [
    "id"=>"101",
    "base-currency"=>"btc",
    "quote-currency"=>"usdt",
    "period"=>"5min"

];

$type = $market_data['base-currency'] . '.' . $market_data['quote-currency'] . '.' . $market_data['period'];
$params = [
    'index' => 'market.kline',
    'type' => '_doc',
    'id' => $type . '.' . $market_data['id'],
    'body' => $market_data,
];

$response = $client->index($params);
print_r($response);

```

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4d224e19d0847dccc9ce150f3fab8323577b3b88f80b7ca05eed66c58bccd8b1?d=identicon)[xscan](/maintainers/xscan)

---

Top Contributors

[![xscan](https://avatars.githubusercontent.com/u/8383395?v=4)](https://github.com/xscan "xscan (5 commits)")

### Embed Badge

![Health badge](/badges/xoscan-zincsearch-es/health.svg)

```
[![Health](https://phpackages.com/badges/xoscan-zincsearch-es/health.svg)](https://phpackages.com/packages/xoscan-zincsearch-es)
```

PHPackages © 2026

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