{"repo":"babenkoivan/elastic-client","free":true,"listed":false,"github":"https://github.com/babenkoivan/elastic-client","clone":"git clone https://github.com/babenkoivan/elastic-client.git","description":"The official PHP Elasticsearch client integrated with Laravel","language":"PHP","stars":55,"topics":["laravel","elasticsearch","php","client"],"license":"MIT","category":"data-pipelines","readme_excerpt":"Elastic Client --- The official PHP Elasticsearch client integrated with Laravel. Contents Compatibility Installation Configuration Usage Compatibility The current version of Elastic Client has been tested with the following configuration: PHP 8.2 Elasticsearch 9.x Laravel 12.x If your project uses older Elasticsearch, Laravel, or PHP version check the previous major version of the package. Installation The library can be installed via Composer: Configuration To change the client settings you need to publish the configuration file first: In the newly created config/elastic.client.php file you can define the default connection name and describe multiple connections using configuration hashes. You can read more about building the client from a configuration hash here. If you need more control over the client creation, you can create your own client builder: Do not forget to register the builder in your application service provider: Usage Use Elastic\\Client\\ClientBuilderInterface to get access to the client instance:","default_branch":null,"files":null,"tree":[],"storefront":"/r/babenkoivan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/babenkoivan/elastic-client/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}