smolevich / reindexer-client
PHP client for using database reindexer
Fund package maintenance!
2.0.4
2024-02-18 07:58 UTC
Requires
- php: >=8.0
- ext-json: *
- guzzlehttp/guzzle: ^7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- php-coveralls/php-coveralls: ^2.1
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2026-05-29 01:50:30 UTC
README
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
}
}
- endpoint - url of reindexer instance
- client_config - guzzle configuration settings for api client, now it is options for guzzle client, in future versions fields can be renamed
Example of using
$apiClient = new Api($this->config['endpoint'], $this->config['client_config']); $dbService = new Database($apiClient); $response = $dbService->getList();