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

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

tielongphp/es-build-query
=========================

对Elasticsearch-PHP进行查询语句封装 可实现链式调用 方便es查询

1.0.2(6y ago)511MITPHPPHP &gt;=7.1.0

Since Jun 20Pushed 6y agoCompare

[ Source](https://github.com/tielongphp/ElasticsearchBuildQuery)[ Packagist](https://packagist.org/packages/tielongphp/es-build-query)[ RSS](/packages/tielongphp-es-build-query/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

elasticsearch-build-query
=========================

[](#elasticsearch-build-query)

对Elasticsearch-PHP进行查询语句封装 可实现链式调用 方便 es查询

注：elasticsearch-php git地址：

Installation via Composer
=========================

[](#installation-via-composer)

The recommended method to install ielongphp/es-build-query is through Composer.

Add tielongphp/es-build-query as a dependency in your project's composer.json file (change version to suit your version of tielongphp/es-build-query, for instance for ^1.0):

```
{
    "require": {
       "tielongphp/es-build-query": "^1.0",
    }
}

```

Download and install Composer:

```
curl -s http://getcomposer.org/installer | php

```

Install your dependencies:

```
php composer.phar install

```

Require Composer's autoloader

Composer also prepares an autoload file that's capable of autoloading all the classes in any of the libraries that it downloads. To use it, just add the following line to your code's bootstrap process:

```
