Etiqueta: client

Useful Yandex.Direct API client.

Useful Yandex.Direct API client. README Удобный PHP-клиент Yandex.Direct API с поддержкой PSR-7 и PSR-3. Требования PHP 5.6 и выше Установка В файле composer.json: { ... "require": { ... "gladyshev/yandex-direct-client": "*" } ... } Использование use YandexDirectClient; $api = new Client('***login***', '***token***');...

A simple PHP client for working with Google Knowledge Graph API

A simple PHP client for working with Google Knowledge Graph API README A simple PHP client for working with Google Knowledge Graph API. Installation composer require freearhey/knowledge-graph Usage require_once('vendor/autoload.php'); use KnowledgeGraphClient; use KnowledgeGraphKnowledgeGraph; $client = new Client(); $client->setKey('YOUR_API_KEY'); // More about...

Client for Hermitage servers

Client for Hermitage servers README PHP Client for Hermitage. Installation Run the Composer command to install the latest version: composer require livetyping/hermitage-php-client ~0.1 Usage <?php use livetypinghermitageclientClient; use livetypinghermitageclientRequestSigner; use livetypinghermitageclientSigner; $secret = '<secret value>'; $baseUri = 'http://hermitage'; $signer = new...

Yii2 Hermitage Client Adapter

Yii2 Hermitage Client Adapter README Yii2 Adapter for Hermitage Client. Installation Run the Composer command to install the latest version: composer require livetyping/yii2-hermitage-client ~0.1 Add the component to config/main.php: 'components' => [ // ... 'hermitage' => [ 'class' => 'livetypinghermitageclientyii2Component', 'secret'...

Request Man is a PHP HTTP client library

Request Man is a PHP HTTP client library README A php http request library composer autoloading require_once DIR . “/vendor/autoload.php”; import RequestMan class use RequestManRequestMan; making a request $url = “https://jsonplaceholder.typicode.com/posts“; $response = RequestMan::setUrl( $url )->setClient(‘guzzle’)->send(); get raw data var_dump($response->toRaw()); convert...