Skip to content

Latest commit

 

History

42 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Promopult Integra API PHP client library

Клиентская библиотека для сервиса promopult.org.

Build Status Scrutinizer Code Quality Code Coverage

Установка

$ composer require promopult/integra-client

или

"require": {
  ...
  "promopult/integra-client": "*"
  ...
}

Примеры

Смотрите папку examples.

$client = new \Promopult\Integra\Client(
    new \Promopult\Integra\Credentials(getenv('__HASH__'), getenv('__KEY__')), 
    new \AcmeCrypt(),
    new \GuzzleHttp\Client()
);

$response = $client->hello([
    'name' => 'Dmitry'
]);

var_dump($response->getData()); // string(14) "Hello, Dmitry!"

About

Promopult Integra API client library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages