Download the PHP package directorytree/opensearch-client without Composer
On this page you can find all versions of the php package directorytree/opensearch-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download directorytree/opensearch-client
More information about directorytree/opensearch-client
Files in directorytree/opensearch-client
Package opensearch-client
Short Description A Laravel integration for the official OpenSearch PHP client
License MIT
Informations about the package opensearch-client
OpenSearch Client
A Laravel integration for the OpenSearch PHP client.
Installation · Configuration · Usage
Installation
Install the package with Composer:
Configuration
Publish the configuration file:
The published config/opensearch-client.php file defines the default connection and any named OpenSearch connections:
Each connection is passed directly to OpenSearch\GuzzleClientFactory.
Usage
Resolve DirectoryTree\OpenSearchClient\OpenSearchManager from the container to access OpenSearch clients:
You can also resolve named connections:
You may also use the facade:
Credits
This package builds on a lot of the foundation and prior work from Ivan Babenko and his Elasticsearch Laravel ecosystem packages.
We're grateful for the work he has shared with the Laravel community. If this package helps your work, consider supporting Ivan through GitHub Sponsors.
All versions of opensearch-client with dependencies
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^11.0|^12.0|^13.0
opensearch-project/opensearch-php Version ^2.6