PHPackages                             bardex/elastic-query - 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. [Database &amp; ORM](/categories/database)
4. /
5. bardex/elastic-query

ActiveLibrary[Database &amp; ORM](/categories/database)

bardex/elastic-query
====================

PHP query builder for ElasticSearch with fluent interface

2.3.0(7y ago)13531[1 PRs](https://github.com/bardex/elastic-query/pulls)PHPPHP &gt;=5.5.0CI failing

Since Apr 26Pushed 5y ago3 watchersCompare

[ Source](https://github.com/bardex/elastic-query)[ Packagist](https://packagist.org/packages/bardex/elastic-query)[ RSS](/packages/bardex-elastic-query/feed)WikiDiscussions v2 Synced 3d ago

READMEChangelogDependencies (3)Versions (18)Used By (0)

PHP fluent interface for ElasticSearch. Version 2.
==================================================

[](#php-fluent-interface-for-elasticsearch-version-2)

[![Build Status](https://camo.githubusercontent.com/9502f9888e94dfd69948798b8b1c70df9bfa0477b1228f32d1b43d110a10f078/68747470733a2f2f7472617669732d63692e6f72672f6261726465782f656c61737469632d71756572792e7376673f6272616e63683d7632)](https://travis-ci.org/bardex/elastic-query)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/89a9eb42a4cd19f8c6f1247b3fd229ac71afcc8af81e0c0aa4cc69b884f26748/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6261726465782f656c61737469632d71756572792f6261646765732f7175616c6974792d73636f72652e706e673f623d7632)](https://scrutinizer-ci.com/g/bardex/elastic-query/?branch=v2)[![Coverage Status](https://camo.githubusercontent.com/674fd03f65717031400070df95a1b18966e2820cfec771820c5d71bd2a1f285e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6261726465782f656c61737469632d71756572792f62616467652e7376673f6272616e63683d763226763d32)](https://coveralls.io/github/bardex/elastic-query?branch=v2&v=2)

REQUIREMENTS
------------

[](#requirements)

- PHP &gt;= 5.5
- PHP Elasticsearch\\Client ~2.0 or ~5.0 (only PHP &gt;= 5.6.6)
- ElasticSearch server &gt;= 5.0

INSTALLATION
------------

[](#installation)

```
$ composer require bardex/elastic-query

```

QUICK START
-----------

[](#quick-start)

```
