PHP code example of trexima / harvey-client

1. Go to this page and download the library: Download trexima/harvey-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/ */

    

trexima / harvey-client example snippets




e = new \Symfony\Component\Cache\Adapter\ArrayAdapter();
$methodPatameterExtractor = new \Trexima\HarveyClient\MethodParameterExtractor($cache);

$harveyClient = new Trexima\HarveyClient\Client('http://127.0.0.1/v2/', 'admin', 'my_password', $methodPatameterExtractor, $cache);

var_dump($harveyClient->searchIsced());
var_dump($harveyClient->getIsced('35'));
var_dump($harveyClient->searchIsco('programator', [5], '251'));
var_dump($harveyClient->searchCpa('ryby'));