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

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

opensearch-project/opensearch-php
=================================

PHP Client for OpenSearch

2.6.0(1mo ago)15224.3M—5.5%72[37 issues](https://github.com/opensearch-project/opensearch-php/issues)[2 PRs](https://github.com/opensearch-project/opensearch-php/pulls)20Apache-2.0PHPPHP ^8.2CI failing

Since Nov 13Pushed 1w ago14 watchersCompare

[ Source](https://github.com/opensearch-project/opensearch-php)[ Packagist](https://packagist.org/packages/opensearch-project/opensearch-php)[ RSS](/packages/opensearch-project-opensearch-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (53)Versions (28)Used By (20)

[![OpenSearch logo](OpenSearch.svg)](OpenSearch.svg)

- [Welcome!](#welcome)
- [Project Resources](#project-resources)
- [Code of Conduct](#code-of-conduct)
- [Sample code](#sample-code)
- [Compatibility with OpenSearch](#compatibility-with-opensearch)
- [License](#license)
- [Copyright](#copyright)

Welcome!
--------

[](#welcome)

**opensearch-php** is [a community-driven, open source fork](https://aws.amazon.com/blogs/opensource/introducing-opensearch/) of elasticsearch-php licensed under the [Apache v2.0 License](LICENSE). For more information, see [opensearch.org](https://opensearch.org/).

Project Resources
-----------------

[](#project-resources)

- [Project Website](https://opensearch.org/)
- [User Guide](USER_GUIDE.md)
- [Samples](samples)
- [Developer Guide](DEVELOPER_GUIDE.md)
- [Downloads](https://opensearch.org/downloads/).
- [Documentation](https://docs.opensearch.org/latest/)
- Need help? Try [Forums](https://forum.opensearch.org/)
- [Project Principles](https://opensearch.org/#principles)
- [Contributing to OpenSearch](CONTRIBUTING.md)
- [Maintainer Responsibilities](MAINTAINERS.md)
- [Release Management](RELEASING.md)
- [Admin Responsibilities](ADMINS.md)
- [Security](SECURITY.md)

Code of Conduct
---------------

[](#code-of-conduct)

This project has adopted the [Amazon Open Source Code of Conduct](CODE_OF_CONDUCT.md). For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq), or contact  with any additional questions or comments.

Sample code
-----------

[](#sample-code)

See [Sample Code](USER_GUIDE.md).

Compatibility with OpenSearch
-----------------------------

[](#compatibility-with-opensearch)

See [Compatibility](COMPATIBILITY.md).

License
-------

[](#license)

This project is licensed under the [Apache v2.0 License](LICENSE).

Copyright
---------

[](#copyright)

Copyright OpenSearch Contributors. See [NOTICE](NOTICE) for details.

###  Health Score

72

—

ExcellentBetter than 100% of packages

Maintenance89

Actively maintained with recent releases

Popularity68

Solid adoption and visibility

Community47

Growing community involvement

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 59.9% 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 ~63 days

Recently: every ~33 days

Total

26

Last Release

56d ago

Major Versions

1.x-dev → 2.0.x-dev2022-05-26

PHP version history (3 changes)1.0.x-devPHP ^7.3 || ^8.0

2.4.0PHP ^8.1

2.6.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c45ef9077b73fce78afbfab2fa27e611a453dd77de003e2785ac84105d02bef?d=identicon)[shyim](/maintainers/shyim)

![](https://www.gravatar.com/avatar/49a44b7ba0666b3964ed3cac0a02ac435c73303673488ec6e54a7bc180a48ca0?d=identicon)[opensearch](/maintainers/opensearch)

---

Top Contributors

[![polyfractal](https://avatars.githubusercontent.com/u/1224228?v=4)](https://github.com/polyfractal "polyfractal (1286 commits)")[![ezimuel](https://avatars.githubusercontent.com/u/475967?v=4)](https://github.com/ezimuel "ezimuel (450 commits)")[![kimpepper](https://avatars.githubusercontent.com/u/6132?v=4)](https://github.com/kimpepper "kimpepper (61 commits)")[![philkra](https://avatars.githubusercontent.com/u/35487337?v=4)](https://github.com/philkra "philkra (57 commits)")[![szabosteve](https://avatars.githubusercontent.com/u/22324794?v=4)](https://github.com/szabosteve "szabosteve (56 commits)")[![shyim](https://avatars.githubusercontent.com/u/6224096?v=4)](https://github.com/shyim "shyim (45 commits)")[![opensearch-trigger-bot[bot]](https://avatars.githubusercontent.com/u/80134844?v=4)](https://github.com/opensearch-trigger-bot[bot] "opensearch-trigger-bot[bot] (25 commits)")[![mhujer](https://avatars.githubusercontent.com/u/353372?v=4)](https://github.com/mhujer "mhujer (25 commits)")[![dblock](https://avatars.githubusercontent.com/u/542335?v=4)](https://github.com/dblock "dblock (18 commits)")[![simplechris](https://avatars.githubusercontent.com/u/520892?v=4)](https://github.com/simplechris "simplechris (17 commits)")[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (14 commits)")[![saimedhi](https://avatars.githubusercontent.com/u/117196660?v=4)](https://github.com/saimedhi "saimedhi (9 commits)")[![afrozenpeach](https://avatars.githubusercontent.com/u/1694214?v=4)](https://github.com/afrozenpeach "afrozenpeach (8 commits)")[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (8 commits)")[![harshavamsi](https://avatars.githubusercontent.com/u/10369642?v=4)](https://github.com/harshavamsi "harshavamsi (7 commits)")[![joelwurtz](https://avatars.githubusercontent.com/u/90466?v=4)](https://github.com/joelwurtz "joelwurtz (6 commits)")[![VachaShah](https://avatars.githubusercontent.com/u/9029563?v=4)](https://github.com/VachaShah "VachaShah (6 commits)")[![VijayanB](https://avatars.githubusercontent.com/u/11067894?v=4)](https://github.com/VijayanB "VijayanB (6 commits)")[![bezhermoso](https://avatars.githubusercontent.com/u/1437428?v=4)](https://github.com/bezhermoso "bezhermoso (6 commits)")[![abulhol](https://avatars.githubusercontent.com/u/4851778?v=4)](https://github.com/abulhol "abulhol (4 commits)")

---

Tags

hacktoberfestphpclientsearchelasticsearchopensearch

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[elasticsearch/elasticsearch

PHP Client for Elasticsearch

5.3k178.3M943](/packages/elasticsearch-elasticsearch)[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[mailerlite/laravel-elasticsearch

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)[swisnl/json-api-client

A PHP package for mapping remote JSON:API resources to Eloquent like models and collections.

211473.2k12](/packages/swisnl-json-api-client)

PHPackages © 2026

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