PHPackages                             ckales/elasticsearch-sql-hyperf - 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. [API Development](/categories/api)
4. /
5. ckales/elasticsearch-sql-hyperf

ActiveLibrary[API Development](/categories/api)

ckales/elasticsearch-sql-hyperf
===============================

SQL formatting of Elasticsearch in Hyperf

v2.0.2(1y ago)1138MITPHPPHP &gt;=7.4

Since Jan 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Ckales/elasticsearch-sql-hyperf)[ Packagist](https://packagist.org/packages/ckales/elasticsearch-sql-hyperf)[ RSS](/packages/ckales-elasticsearch-sql-hyperf/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (22)Used By (0)

elasticsearch-sql-hyperf
========================

[](#elasticsearch-sql-hyperf)

在hyperf中使用sql链式操作格式进行elasticsearch操作，PHP版本7.4及以上，Elasticsearch版本7.8及以上

安装
==

[](#安装)

```
composer require ckales/elasticsearch-sql-hyperf
```

依赖
==

[](#依赖)

```
"require": {
    "php": ">=7.4",
    "hyperf/elasticsearch": "3.0.*",
    "hyperf/logger": "^3.0"
}
```

配置
==

[](#配置)

hyperf项目下→config目录→autoload目录，新建elasticsearch.php配置文件，文件内容为下：

```
