smolevich / reindexer-client
PHP client for using database reindexer
Fund package maintenance!
smolevich
Installs: 16 043
Dependents: 1
Suggesters: 0
Security: 0
Stars: 10
Watchers: 1
Forks: 3
Open Issues: 7
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
- dev-master
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.x-dev
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-dependabot/github_actions/dot-github/workflows/actions/download-artifact-4.1.7
- dev-35-add-replication
- dev-33-changes
- dev-31-override-headers
- dev-29-issue-add-put-method
- dev-24-add-grpc-support
- dev-26-fix-failed-tests-in-ci-on-branch-master
- dev-add-license-1
- dev-22-guzzle-upgrade
- dev-add-coverage-for-php-ci
- dev-13-update-ci-and-dependencies
- dev-update-coveralls
- dev-Add-test-case
- dev-replace-json-path-on-new-name
- dev-update-readme
This package is auto-updated.
Last update: 2025-03-31 23:07:36 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();