PHP code example of smolevich / reindexer-client

1. Go to this page and download the library: Download smolevich/reindexer-client library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

smolevich / reindexer-client example snippets


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