PHPackages                             pashamesh/uiscom-api-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. [API Development](/categories/api)
4. /
5. pashamesh/uiscom-api-client

ActiveLibrary[API Development](/categories/api)

pashamesh/uiscom-api-client
===========================

PHP binding for UIScom (formerly CoMagic) API

0.5.0(6mo ago)392MITPHPPHP &gt;=7.4CI passing

Since Jan 26Pushed 6mo ago1 watchersCompare

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

READMEChangelog (8)Dependencies (6)Versions (10)Used By (0)

[UIScom](https://www.uiscom.ru/) (formerly [CoMagic](https://main.comagic.ru/)) API PHP client
==============================================================================================

[](#uiscom-formerly-comagic-api-php-client)

[![Unit tests](https://github.com/pashamesh/uiscom-api-client/actions/workflows/tests.yml/badge.svg)](https://github.com/pashamesh/uiscom-api-client/actions/workflows/tests.yml)[![Static analysis](https://github.com/pashamesh/uiscom-api-client/actions/workflows/static.yml/badge.svg)](https://github.com/pashamesh/uiscom-api-client/actions/workflows/static.yml)[![Code style](https://github.com/pashamesh/uiscom-api-client/actions/workflows/code_style.yml/badge.svg)](https://github.com/pashamesh/uiscom-api-client/actions/workflows/code_style.yml)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](LICENSE)[![Latest Version on Packagist](https://camo.githubusercontent.com/7803e90a25c922ef8af126ac3d3504f6b567159ae90d4f3b76164bc1421e298a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70617368616d6573682f756973636f6d2d6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pashamesh/uiscom-api-client)[![Total Downloads](https://camo.githubusercontent.com/2a91da7d75edc5b2926a744ebde5965e15f451924c28d7c034a0e1abcf600d4b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70617368616d6573682f756973636f6d2d6170692d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pashamesh/uiscom-api-client)

UIS (CoMagic) PHP client for the following APIs:

- [Call API](https://www.uiscom.ru/academiya/spravochnyj-centr/dokumentatsiya-api/call_api/)
- [Data API](https://www.uiscom.ru/academiya/spravochnyj-centr/dokumentatsiya-api/data_api/)

Requirements
------------

[](#requirements)

This package requires PHP 7.4 or above.

Installation
------------

[](#installation)

To get started, install package via the Composer package manager:

`composer require pashamesh/uiscom-api-client`

Usage
-----

[](#usage)

### Configuring

[](#configuring)

Array is using to configure Rest API and Call API clients.

```
$config = [
    // required for Rest API and optional for Call API
    'login' => 'put_login_here',
    'password' => 'put_password_here',
    // required for Call API if login and password not specified
    'access_token' => 'put_access_token_here',
];
```

You also need to change domain if you client of Uiscom by specifying `endpoint`:

```
use Uiscom\CallApiConfig;

$config = new CallApiConfig('login', 'password', 'access_token')
```

Do not forget to add `Call API` permissions to user if you want to use login and password authorization for Call API.

### Call API

[](#call-api)

API Methods names need to be specified in CamelCase

```
use Uiscom\CallApiConfig;
use Uiscom\CallApiClient;

$config = new CallApiConfig('login', 'password', 'access_token');
$callApi = new CallApiClient($config);
var_dump($callApi->listCalls());
```

It's possible to get response metadata after API request is made

```
var_dump($callApi->metadata());
```

### Data API

[](#data-api)

API Methods names need to be specified in CamelCase

```
use Uiscom\DataApiConfig;
use Uiscom\DataApiClient;

$config = new DataApiConfig('access_token');
$dataApi = new DataApiClient($config);
var_dump(
    $dataApi->getCallsReport([
        'date_from' => '2025-01-10 00:00:00',
        'date_till' => '2025-01-13 23:59:59'
    ])
);
```

It's possible to get response metadata after API request is made

```
var_dump($dataApi->metadata());
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance67

Regular maintenance activity

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.2% 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

Every ~401 days

Recently: every ~506 days

Total

9

Last Release

190d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b0c97dfe2df10c3ddf1c53695bac7a14bd337d24f11e45df8f8927329f2ae64?d=identicon)[pashamesh](/maintainers/pashamesh)

---

Top Contributors

[![pashamesh](https://avatars.githubusercontent.com/u/1695806?v=4)](https://github.com/pashamesh "pashamesh (35 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

api-clientcall-apicomagicdata-apiphpphp-sdkuisuiscomphpapisdkpackagecomagicuisuiscomuiscom sdkuiscom apiuiscom dataapiuiscom callapiuiscom package

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pashamesh-uiscom-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/pashamesh-uiscom-api-client/health.svg)](https://phpackages.com/packages/pashamesh-uiscom-api-client)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[hubspot/api-client

Hubspot API client

23914.2M16](/packages/hubspot-api-client)[php-opencloud/openstack

PHP SDK for OpenStack APIs. Supports BlockStorage, Compute, Identity, Images, Networking and Metric Gnocchi

2292.2M24](/packages/php-opencloud-openstack)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[resend/resend-php

Resend PHP library.

574.7M21](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)

PHPackages © 2026

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