PHPackages                             kain/think-elastic - 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. kain/think-elastic

AbandonedArchivedLibrary[API Development](/categories/api)

kain/think-elastic
==================

ThinkPHP Elasticsearch 扩展

1.8(5y ago)3344MITPHPPHP &gt;=7.4.0

Since Sep 11Pushed 6mo agoCompare

[ Source](https://github.com/kainonly/think-elastic)[ Packagist](https://packagist.org/packages/kain/think-elastic)[ RSS](/packages/kain-think-elastic/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (9)Dependencies (3)Versions (10)Used By (0)

Think Elastic
=============

[](#think-elastic)

ThinkPHP Elasticsearch 扩展，[Think Bit](https://think-bit.kainonly.com) 辅助 ThinkPHP 快速集成 RESTFul API 的工具集

[![Packagist Version](https://camo.githubusercontent.com/2da2afffb0711d03b90b0528f6213877f30dc3403a2e0cf8177b1a68bf689dae/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b61696e2f7468696e6b2d656c61737469632e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/2da2afffb0711d03b90b0528f6213877f30dc3403a2e0cf8177b1a68bf689dae/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b61696e2f7468696e6b2d656c61737469632e7376673f7374796c653d666c61742d737175617265)[![Packagist](https://camo.githubusercontent.com/e8a68844c2304cc41ae59a88a3ff64af3a67f9b2e0439935237d820d8a9b0f30/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b61696e2f7468696e6b2d656c61737469632e7376673f636f6c6f723d626c7565267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/e8a68844c2304cc41ae59a88a3ff64af3a67f9b2e0439935237d820d8a9b0f30/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b61696e2f7468696e6b2d656c61737469632e7376673f636f6c6f723d626c7565267374796c653d666c61742d737175617265)[![PHP from Packagist](https://camo.githubusercontent.com/533095bd415662ca799617870bedf8be6311332e0069eb337cb50a938738c87a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6b61696e2f7468696e6b2d656c61737469632e7376673f636f6c6f723d626c7565267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/533095bd415662ca799617870bedf8be6311332e0069eb337cb50a938738c87a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6b61696e2f7468696e6b2d656c61737469632e7376673f636f6c6f723d626c7565267374796c653d666c61742d737175617265)[![Packagist](https://camo.githubusercontent.com/a26f4b6641797e85bbf8216d1a8cc354078fe288cc6dcb73bd048ee77616b537/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6b61696e2f7468696e6b2d656c61737469632e7376673f636f6c6f723d626c7565267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/a26f4b6641797e85bbf8216d1a8cc354078fe288cc6dcb73bd048ee77616b537/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6b61696e2f7468696e6b2d656c61737469632e7376673f636f6c6f723d626c7565267374796c653d666c61742d737175617265)

#### 安装

[](#安装)

```
composer require kain/think-elastic
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance46

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Recently: every ~91 days

Total

9

Last Release

1967d ago

PHP version history (2 changes)1.3PHP &gt;=7.2.0

1.5PHP &gt;=7.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9986159?v=4)[Kain](/maintainers/kainonly)[@kainonly](https://github.com/kainonly)

---

Top Contributors

[![kainonly](https://avatars.githubusercontent.com/u/9986159?v=4)](https://github.com/kainonly "kainonly (46 commits)")

### Embed Badge

![Health badge](/badges/kain-think-elastic/health.svg)

```
[![Health](https://phpackages.com/badges/kain-think-elastic/health.svg)](https://phpackages.com/packages/kain-think-elastic)
```

###  Alternatives

[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[shift31/laravel-elasticsearch

A Laravel Service Provider for the Elasticsearch API client

201369.7k1](/packages/shift31-laravel-elasticsearch)[naixiaoxin/think-wechat

EasyWechat For Thnkphp5.1+

27316.1k1](/packages/naixiaoxin-think-wechat)[handcraftedinthealps/elasticsearch-dsl

Elasticsearch DSL library

212.5M14](/packages/handcraftedinthealps-elasticsearch-dsl)[m6web/elasticsearch-bundle

Symfony2 Bundle on top of elasticsearch/elasticsearch-php

22631.8k2](/packages/m6web-elasticsearch-bundle)[weiwei/api-doc

The ThinkPHP6 Api Doc Package

10710.2k](/packages/weiwei-api-doc)

PHPackages © 2026

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