PHPackages                             clientapi/armtek-rest-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. clientapi/armtek-rest-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

clientapi/armtek-rest-client
============================

Armtek HTTP клиент для работы с веб-сервисами (JSON или XML)

v1.0.15(8y ago)24.3k↓34.5%1GPL-3.0PHP

Since Dec 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/clientapi/armtek-rest-client)[ Packagist](https://packagist.org/packages/clientapi/armtek-rest-client)[ RSS](/packages/clientapi-armtek-rest-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Armtek HTTP Client
==================

[](#armtek-http-client)

Armtek HTTP клиент для работы с веб-сервисами (JSON или XML).

*P.S. Это перепакованная версия [официального клиента](http://ws.armtek.ru/?page=material&alias=rest-examples), для работы с [composer](https://getcomposer.org/)*

Установка
---------

[](#установка)

Установить [Composer](http://getcomposer.org/) если он не был установлен ранее.

Запустите команду

```
composer require clientapi/armtek-rest-client "~1.0.0"

```

или

```
"clientapi/armtek-rest-client": "~1.0.0"

```

или добавьте в файл `composer.json`

Пример
------

[](#пример)

Авторизация

```
use ArmtekRestClient\Http\Config\Config as ArmtekRestClientConfig;

// Настройка подключения
$armtek_client_config = new ArmtekRestClientConfig([
	'user_login' =>     '{ЛОГИН}',
	'user_password' =>  '{ПАРОЛЬ}',
]);
```

Пример поискового запроса

```
use ArmtekRestClient\Http\Exception\ArmtekException as ArmtekException;
use ArmtekRestClient\Http\ArmtekRestClient as ArmtekRestClient;

try {
    // init client
    $armtek_client = new ArmtekRestClient($armtek_client_config);

    $params = [
        'VKORG'         => ''
        ,'KUNNR_RG'     => ''
        ,'PIN'          => 'oc47'
        ,'BRAND'        => 'KNECHT'
        ,'QUERY_TYPE'   => ''
        ,'KUNNR_ZA'     => ''
        ,'INCOTERMS'    => ''
        ,'VBELN'        => ''
    ];

    // requeest params for send
    $request_params = [

        'url' => 'search/search',
        'params' => [
            'VKORG'         => !empty($params['VKORG'])?$params['VKORG']:(isset($ws_default_settings['VKORG'])?$ws_default_settings['VKORG']:'')
            ,'KUNNR_RG'     => isset($params['KUNNR_RG'])?$params['KUNNR_RG']:(isset($ws_default_settings['KUNNR_RG'])?$ws_default_settings['KUNNR_RG']:'')
            ,'PIN'          => isset($params['PIN'])?$params['PIN']:''
            ,'BRAND'        => isset($params['BRAND'])?$params['BRAND']:''
            ,'QUERY_TYPE'   => isset($params['QUERY_TYPE'])?$params['QUERY_TYPE']:''
            ,'KUNNR_ZA'     => isset($params['KUNNR_ZA'])?$params['KUNNR_ZA']:(isset($ws_default_settings['KUNNR_ZA'])?$ws_default_settings['KUNNR_ZA']:'')
            ,'INCOTERMS'    => isset($params['INCOTERMS'])?$params['INCOTERMS']:(isset($ws_default_settings['INCOTERMS'])?$ws_default_settings['INCOTERMS']:'')
            ,'VBELN'        => isset($params['VBELN'])?$params['VBELN']:(isset($ws_default_settings['VBELN'])?$ws_default_settings['VBELN']:'')
            ,'format'       => 'json'
        ]

    ];

    // send data
    $response = $armtek_client->post($request_params);

    // in case of json
    $json_responce_data = $response->json();

} catch (ArmtekException $e) {
    $json_responce_data = $e -> getMessage();
}
```

Больше примеров в папке `example`.

Документация
------------

[](#документация)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3064d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/592654?v=4)[Denis Sevostyanov](/maintainers/den67rus)[@den67rus](https://github.com/den67rus)

---

Top Contributors

[![den67rus](https://avatars.githubusercontent.com/u/592654?v=4)](https://github.com/den67rus "den67rus (2 commits)")

---

Tags

apirestarmtek

### Embed Badge

![Health badge](/badges/clientapi-armtek-rest-client/health.svg)

```
[![Health](https://phpackages.com/badges/clientapi-armtek-rest-client/health.svg)](https://phpackages.com/packages/clientapi-armtek-rest-client)
```

###  Alternatives

[xendit/xendit-php

Xendit PHP SDK

189730.6k6](/packages/xendit-xendit-php)[angelleye/paypal-php-library

PHP wrapper for PayPal APIs

243440.9k](/packages/angelleye-paypal-php-library)[infobip/infobip-api-php-client

PHP library for consuming Infobip's API

921.8M10](/packages/infobip-infobip-api-php-client)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34170.2k2](/packages/onesignal-onesignal-php-api)[mediamonks/rest-api-bundle

MediaMonks Rest API Symfony Bundle

1656.2k1](/packages/mediamonks-rest-api-bundle)[phrest/api

REST API Package for Phalcon PHP

304.2k](/packages/phrest-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
