NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #534 most downloaded on Packagist
PHP Client for OpenSearch
Latest stable
2.7.1
Last release 2 months ago
14 Sep 2026
Release timing varies
gaps range from 2 weeks to 11 months
Nearly every release is documented
notes for 23 of 23 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
23 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Fixed: Refreshable AWS Credentials take2 by @SakiTakamachi in https://github.com/opensearch-project/opensearch-php/pull/429
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.7.0...2.7.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
ci: replace deprecated GitHub App token with opensearch-ci-bot by @kimpepper in https://github.com/opensearch-project/opensearch-php/pull/416
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.6.0...2.7.0
phpunit/phpunit to ^11.5 (#414)guzzlehttp/psr7 dev dependency constraint to ^2.8.0 || ^3.0.0 and bump aws/aws-sdk-php dev dependency to ^3.394.9 to support Guzzle 8 (#412)CredentialProvider instance to SigningClientFactory is deprecated; pass a callable instead (#404)SmartSerializer throwing JsonException on JSON with unpaired UTF-16 surrogate escape sequences produced by search highlighting (#403)callable as the provider argument of SigningClientFactory so AWS SDK credential providers like CredentialProvider::sso() and CredentialProvider::assumeRole() can be used (#404)https://api-spec.opensearch.org/opensearch-openapi.yaml (#420)feat: Update php scripts to symfony commands by @kimpepper in https://github.com/opensearch-project/opensearch-php/pull/394
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.5.1...2.6.0
Back to dev by @kimpepper in https://github.com/opensearch-project/opensearch-php/pull/375
type by @kimpepper in https://github.com/opensearch-project/opensearch-php/pull/384Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.5.0...2.5.1
type (#384)Back to dev by @kimpepper in https://github.com/opensearch-project/opensearch-php/pull/365
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.4.6...2.5.0
--prefer-lowest to the test matrix (#367)Back to dev version by @kimpepper in https://github.com/opensearch-project/opensearch-php/pull/352
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.4.5...2.4.6
fix: double encoding of index name by @shyim in https://github.com/opensearch-project/opensearch-php/pull/349
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.4.4...2.4.5
Back to dev by @kimpepper in https://github.com/opensearch-project/opensearch-php/pull/324
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.4.3...2.4.4
Back to dev version by @kimpepper in https://github.com/opensearch-project/opensearch-php/pull/305
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.4.2...2.4.3
auth_aws option to GuzzleClientFactory and SymfonyClientFactory (#314)Client::performRequest() and Transport::sendRequest() (#307)Fix deprecated class instantiation warnings by @kimpepper in https://github.com/opensearch-project/opensearch-php/pull/295
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.4.1...2.4.2
Preparing for next developer iteration 2.4.1 by @kimpepper in https://github.com/opensearch-project/opensearch-php/pull/279
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.4.0...2.4.1
Add phpstan deprecation rules by @kimpepper in https://github.com/opensearch-project/opensearch-php/pull/258
--warning-mode none when assembling OpenSearch in CI by @TimWolla in https://github.com/opensearch-project/opensearch-php/pull/231Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.3.1...2.4.0
ezimuel/ringphp to ^1.2.2 (225)\OpenSearch\Common\Exceptions are deprecated and moved to \OpenSearch\Exception (#274)fix: php 8.4 deprecations by @shyim in https://github.com/opensearch-project/opensearch-php/pull/226
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.3.0...2.3.1
Fixed bug in ClientBuilder where basic authentication is overridden by connection params by @CSalih in https://github.com/opensearch-project/opensearc
format parameter to specify the sql response format by @CSalih in https://github.com/opensearch-project/opensearch-php/pull/161Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.2.0...2.3.0
includePortInHostHeader option to ClientBuilder::fromConfig (#118)RefreshSearchAnalyzers endpoint (#152)format parameter to specify the sql response format (#161)ClientBuilder (#160)Connection::tryDeserializeError() for some error responses (#167)fix: remove dead code to fix phpstan by @shyim in https://github.com/opensearch-project/opensearch-php/pull/130
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.1.0...2.2.0
Update COMPATIBILITY.md, fixes #88 by @shyim in https://github.com/opensearch-project/opensearch-php/pull/90
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.0.3...2.1.0
Add ClientBuilder docs #73, #74 by @shyim in https://github.com/opensearch-project/opensearch-php/pull/75
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.0.2...2.0.3
phpstan level 5 by @snapshotpl in https://github.com/opensearch-project/opensearch-php/pull/71
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.0.1...2.0.2
Improve phpstan run by @snapshotpl in https://github.com/opensearch-project/opensearch-php/pull/67 , https://github.com/opensearch-project/opensearch-
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/2.0.0...2.0.1
Type Mapping API's have been removed
include-type-name Parameter has been removedindices.exists_type and indices.flush_synced removal
See PR: https://github.com/opensearch-project/opensearch-php/pull/54Add security plugin client by @rcwsr in https://github.com/opensearch-project/opensearch-php/pull/45
Full Changelog: https://github.com/opensearch-project/opensearch-php/compare/1.0.1...1.0.2
Added support for the SQL endpoint
Compatible with OpenSearch 1.0.0
One column per quarter.