PHP Package: opensearch-project/opensearch-php

OpenSearch-PHP is a PHP library for integrating OpenSearch functionality into your projects, enhancing search capabilities, and improving user experience through optimized search results.

Current Version: 2.4.5
Last Updated: 2025-08-06
PHP Requirement: ^8.1
Dependencies: None

Package Description

OpenSearch-PHP is a comprehensive PHP library designed to seamlessly integrate OpenSearch features into your applications. With an emphasis on performance and flexibility, this library simplifies search implementation, boosts search relevance, and enhances user interaction. By leveraging OpenSearch's powerful capabilities, developers can deliver superior search experiences that drive engagement and satisfaction.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.4.5

Download Download v2.4.5

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/opensearch-project/opensearch-php/2.4.5/loader.php';

use OpenSearch\Client;

$obj = new Client();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.