PHPackages                             kapokyue/opensearch-sdk-php - 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. kapokyue/opensearch-sdk-php

ActiveLibrary[API Development](/categories/api)

kapokyue/opensearch-sdk-php
===========================

From https://help.aliyun.com/document\_detail/53078.html

05.2kHTML

Since Jul 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/kapokyue/opensearch-sdk-php)[ Packagist](https://packagist.org/packages/kapokyue/opensearch-sdk-php)[ RSS](/packages/kapokyue-opensearch-sdk-php/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

OpenSearch Data Access &amp; Management SDK for PHP
===================================================

[](#opensearch-data-access--management-sdk-for-php)

From [https://help.aliyun.com/document\_detail/53078.html](https://help.aliyun.com/document_detail/53078.html)

Opensearch restful API version v3

Overview
--------

[](#overview)

This SDK contains wrapper code used to call the OpenSearch Cloud restful API from PHP.

Prerequisites
-------------

[](#prerequisites)

How to start
------------

[](#how-to-start)

1. Downlaod the PHP SDK zip and unzip it.
2. Move the SDK to your project.
3. View the demo directory, there are some samples likes app control, document push, app search, suggest search and etc.

Changes in version 3.3.0 (date: 2020-04-21)
-------------------------------------------

[](#changes-in-version-330-date-2020-04-21)

- NEW: 支持临时安全令牌（STS）
- NEW: 新增搜索参数Rank.secondRankType（EXPRESSION|CAVA\_SCRIPT）
- NEW: 新增下拉提示参数userId和reSearch（HOMONYM）
- NEW: 新增SuggestParams与SuggestionClient类

Changes in version 3.2.1 (date: 2019-09-12)
-------------------------------------------

[](#changes-in-version-321-date-2019-09-12)

- FIXED: 修复 abtest 传参问题

Changes in version 3.2.0 (date: 2019-08-23)
-------------------------------------------

[](#changes-in-version-320-date-2019-08-23)

- NEW: 数据采集 2.0

Changes in version 3.1.0 (date: 2018-09-03)
-------------------------------------------

[](#changes-in-version-310-date-2018-09-03)

- NEW: 支持 A/B Test
- NEW: 支持 行为数据采集

Changes in version 3.0.1 (date:2017-06-09)
------------------------------------------

[](#changes-in-version-301-date2017-06-09)

- 在使用arg之前先定义arg，否则在php的log level为Notice的时候会报出"Undefined variable: arg"

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

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.

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/kapokyue-opensearch-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/kapokyue-opensearch-sdk-php/health.svg)](https://phpackages.com/packages/kapokyue-opensearch-sdk-php)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)[pixelant/pxa-social-feed

Add Facebook, Instagram, and Twitter feeds to your site.

2349.3k](/packages/pixelant-pxa-social-feed)

PHPackages © 2026

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