require_once "ElasticSearchClient.php"; $transport = new ElasticSearchTransportHTTP("localhost", 9200); $search = new ElasticSearchClient($transport, "myindex ...
Ensure that the php-http/discovery composer plugin is allowed to run or install a client manually if your project does not already have a PSR-18 client integrated.