PHPackages                             ritaswc/elk-query-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. ritaswc/elk-query-client

ActiveLibrary

ritaswc/elk-query-client
========================

Query Elk Log Content Client

1.0.0(8mo ago)0165↓100%MITPHPPHP &gt;=7.4

Since Sep 1Pushed 8mo agoCompare

[ Source](https://github.com/ritaswc/elk-query-client)[ Packagist](https://packagist.org/packages/ritaswc/elk-query-client)[ RSS](/packages/ritaswc-elk-query-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

elk-query-client
================

[](#elk-query-client)

Query Elk Log Content

Usage:
------

[](#usage)

```
    $url    = 'http://172.16.121.32:9200';
    $client = new QueryClient($url, 'tiger_logs');
    $list   = [];
    $client->query(['keyword for search'], function (array $item) use (&$list) {
        $logContent = trim($item['fields']['event.original'][0] ?? '');
        $logContent = mb_substr($logContent, mb_strpos($logContent, '{'));
        $arr        = json_decode($logContent, true);
        if (is_array($arr)) {
            $manualType = $arr['manualType'] ?? '';
            if (strlen($manualType)) {
                $list[$manualType] = $manualType;
            }
        }
    }, [strtotime('2025-01-01 00:00:00'), time()]);
    dd($list);
```

QueryClient will query all of the target data and auto complete paginator

工具将会查询所有的目标数据，并自动完成分页

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance60

Regular maintenance activity

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

250d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d573b192b6e1ea26030ba9b8830fd42baa06eae328898442ef55ac24e5101c4?d=identicon)[ritaswc](/maintainers/ritaswc)

---

Top Contributors

[![ritaswc](https://avatars.githubusercontent.com/u/15887140?v=4)](https://github.com/ritaswc "ritaswc (9 commits)")

### Embed Badge

![Health badge](/badges/ritaswc-elk-query-client/health.svg)

```
[![Health](https://phpackages.com/badges/ritaswc-elk-query-client/health.svg)](https://phpackages.com/packages/ritaswc-elk-query-client)
```

PHPackages © 2026

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