PHPackages                             soshapr/es-query-builder - 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. [Search &amp; Filtering](/categories/search)
4. /
5. soshapr/es-query-builder

ActiveLibrary[Search &amp; Filtering](/categories/search)

soshapr/es-query-builder
========================

ElasticSearch query builder

v1.1.0(7y ago)01.2kMITGherkinPHP &gt;=5.5

Since May 16Pushed 7y ago5 watchersCompare

[ Source](https://github.com/soShapr/es-query-builder)[ Packagist](https://packagist.org/packages/soshapr/es-query-builder)[ RSS](/packages/soshapr-es-query-builder/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (8)Dependencies (4)Versions (26)Used By (0)

esQueryBuilder
==============

[](#esquerybuilder)

[![Build Status](https://camo.githubusercontent.com/80cd1b1932c35b7ea2db715b985f2ec3b6fad176ea56adfab2d3673779abf255/68747470733a2f2f7472617669732d63692e6f72672f62656c617a2f65732d71756572792d6275696c6465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/belaz/es-query-builder)[![codecov](https://camo.githubusercontent.com/86c4b5356c549a4731c35c87c6b5fb3e6017af77febec41f8d417911df8e5e43/68747470733a2f2f636f6465636f762e696f2f67682f62656c617a2f65732d71756572792d6275696c6465722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/belaz/es-query-builder)

**Bootstrap**

`choco install php --version 5.5.38`

`choco install composer`

`composer update`

**Play**

Sandbox script

`php test.php`

Test library

`vendor/bin/phpunit.bat`

Test Behat

`vendor/bin/behat.bat`

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~26 days

Total

8

Last Release

2737d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4ee2c20084bd6bd40574e3fb4ce1da4d6925df476f48ca2c49165c46cd7e04b?d=identicon)[SocialShapr](/maintainers/SocialShapr)

---

Top Contributors

[![belaz](https://avatars.githubusercontent.com/u/222484?v=4)](https://github.com/belaz "belaz (65 commits)")[![paulmochkovitch](https://avatars.githubusercontent.com/u/36411108?v=4)](https://github.com/paulmochkovitch "paulmochkovitch (56 commits)")[![mohamed-dermouche](https://avatars.githubusercontent.com/u/23377571?v=4)](https://github.com/mohamed-dermouche "mohamed-dermouche (12 commits)")[![fpietka](https://avatars.githubusercontent.com/u/150428?v=4)](https://github.com/fpietka "fpietka (4 commits)")[![tibereprs](https://avatars.githubusercontent.com/u/25429343?v=4)](https://github.com/tibereprs "tibereprs (4 commits)")[![eaprotha](https://avatars.githubusercontent.com/u/31514220?v=4)](https://github.com/eaprotha "eaprotha (1 commits)")

---

Tags

elasticsearchqueryDSLes

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/soshapr-es-query-builder/health.svg)

```
[![Health](https://phpackages.com/badges/soshapr-es-query-builder/health.svg)](https://phpackages.com/packages/soshapr-es-query-builder)
```

###  Alternatives

[elasticsearch/elasticsearch

PHP Client for Elasticsearch

5.3k178.3M943](/packages/elasticsearch-elasticsearch)[netgen/query-translator

Query Translator is a search query translator with AST representation

2042.0M6](/packages/netgen-query-translator)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M65](/packages/opensearch-project-opensearch-php)[borales/yii2-elasticsearch-behavior

Yii2 behavior to support Elasticsearch indexing

2110.2k](/packages/borales-yii2-elasticsearch-behavior)[michaeljennings/laralastica

A laravel package that allows you to search eloquent results using elasticsearch.

102.9k](/packages/michaeljennings-laralastica)

PHPackages © 2026

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