PHPackages                             zvonchuk/elasticsearch-php-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. [Search &amp; Filtering](/categories/search)
4. /
5. zvonchuk/elasticsearch-php-client

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

zvonchuk/elasticsearch-php-client
=================================

PHP High Level REST Client

v0.2.0(3y ago)269MITPHPCI passing

Since Mar 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/zvonchuk/elasticsearch-php-client)[ Packagist](https://packagist.org/packages/zvonchuk/elasticsearch-php-client)[ Docs](https://github.com/zvonchuk/elasticsearch-php-client)[ RSS](/packages/zvonchuk-elasticsearch-php-client/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

elasticsearch-php-client
========================

[](#elasticsearch-php-client)

[![Latest Stable Version](https://camo.githubusercontent.com/1eb726d256079916166753e53e5de0598553fd15ff2e2bff9a44b936f0975b04/68747470733a2f2f706f7365722e707567782e6f72672f7a766f6e6368756b2f656c61737469637365617263682d7068702d636c69656e742f762f737461626c65)](https://packagist.org/packages/zvonchuk/elasticsearch-php-client) [![Total Downloads](https://camo.githubusercontent.com/25d092fb4cee988df0b1c05b4bd09f4c1674e1c103f55b4dbfe0332dbb075564/68747470733a2f2f706f7365722e707567782e6f72672f7a766f6e6368756b2f656c61737469637365617263682d7068702d636c69656e742f646f776e6c6f616473)](https://packagist.org/packages/zvonchuk/elasticsearch-php-client)

High-level client for Elasticsearch. Its goal is to provide common ground for all Elasticsearch-related code in PHP; because of this it tries to be opinion-free and very extendable.

Features
--------

[](#features)

- Simple, fluent query building API
- Support for all common Elasticsearch operations
- Simplified index management
- Aggregations with an intuitive builder pattern
- Built-in query types for geo, range, term, and text searches
- Flexible sorting options
- Bulk operation support

Documentation
-------------

[](#documentation)

- [Getting Started](https://zvonchuk.github.io/elasticsearch-php-client/getting-started.html)
- [Client Setup](https://zvonchuk.github.io/elasticsearch-php-client/client-setup.html)
- [Queries](https://zvonchuk.github.io/elasticsearch-php-client/queries/)
- [Aggregations](https://zvonchuk.github.io/elasticsearch-php-client/aggregations/)
- [Document Operations](https://zvonchuk.github.io/elasticsearch-php-client/document-operations/)
- [Indices Management](https://zvonchuk.github.io/elasticsearch-php-client/indices/)
- [Sorting](https://zvonchuk.github.io/elasticsearch-php-client/sorting/)
- [Advanced Examples](https://zvonchuk.github.io/elasticsearch-php-client/examples/)

Installation via Composer
-------------------------

[](#installation-via-composer)

```
composer require zvonchuk/elasticsearch-php-client
```

PHP Version Requirement
-----------------------

[](#php-version-requirement)

Version 0.1 of this library requires at least PHP version 7.1.

elasticsearch-php-clientPHP Version0.1&gt;= 7.1.0Quick Start Example
-------------------

[](#quick-start-example)

```
