Home

Awesome

CI codecov

PHP client for work with reindexer

Installation

composer require smolevich/reindexer-client

Configuration file for library

{
  "endpoint": "http://localhost:9088",
  "client_config": {
    "http_errors": 0
  }
}

Example of using

    $apiClient = new Api($this->config['endpoint'], $this->config['client_config']);
    $dbService = new Database($apiClient);
    $response = $dbService->getList();