Skip to content

Service for making requests on Harvey API v2

Notifications You must be signed in to change notification settings

tjbwsk/harvey-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Harvey client

Service for making requests on Harvey API v2.

develop: Build Status main: Build Status

Installation

Installation with Composer:

composer require trexima/harvey-client

Example usage

<?php

require __DIR__.'/../vendor/autoload.php';

$cache = 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'));

About

Service for making requests on Harvey API v2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%