PHPackages                             xtratio/onlinepbx-api - 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. xtratio/onlinepbx-api

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

xtratio/onlinepbx-api
=====================

onlinepbx.ru http api clinet

v1.0.0(9y ago)12.7k[1 issues](https://github.com/xtratio/onlinepbx-api/issues)MITPHP

Since Apr 30Pushed 7y ago2 watchersCompare

[ Source](https://github.com/xtratio/onlinepbx-api)[ Packagist](https://packagist.org/packages/xtratio/onlinepbx-api)[ Docs](https://github.com/xtratio/onlinepbx-api)[ RSS](/packages/xtratio-onlinepbx-api/feed)WikiDiscussions master Synced yesterday

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

PHP client for http api onlinepbx.ru
====================================

[](#php-client-for-http-api-onlinepbxru)

Http api documentation [onlinepbx.ru](https://api.onlinepbx.ru/#page-nav-http)

Install
-------

[](#install)

### Manual

[](#manual)

Download zip archive and require Autoloader.php

```
require_once 'lib/Autoloader.php';
```

### Composer ([guide](https://packagist.org/))

[](#composer-guide)

Add require item to your project composer.json:

```
"xtratio/onlinepbx-api": "~1.0"
```

or command line:

```
composer require xtratio/onlinepbx-api
```

Use
---

[](#use)

```
// Create new client object
$api = new xtratio\Onpbx\ApiClient(
            "yourdomain.onpbx.ru",
            "api key"
        );

// Get call history
$from = (new DateTime())->modify("-1 day")->format("r");
$to = (new DateTime())->format("r");
$result = $api->callHistory(array("date_from"=>$from,"date_to"=>$to));
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~137 days

Total

3

Last Release

3439d ago

Major Versions

0.0.1 → v1.0.02017-01-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d8f99146207f9275ea158f65505c8b46b5349e2370237e3616b302fc7869ec3?d=identicon)[xtratio](/maintainers/xtratio)

---

Top Contributors

[![grazumkov](https://avatars.githubusercontent.com/u/11269102?v=4)](https://github.com/grazumkov "grazumkov (6 commits)")[![politsin](https://avatars.githubusercontent.com/u/1288264?v=4)](https://github.com/politsin "politsin (1 commits)")

---

Tags

apiapi-clientcomposerhttp-clientphphttpapionlinepbxonpbx

### Embed Badge

![Health badge](/badges/xtratio-onlinepbx-api/health.svg)

```
[![Health](https://phpackages.com/badges/xtratio-onlinepbx-api/health.svg)](https://phpackages.com/packages/xtratio-onlinepbx-api)
```

###  Alternatives

[nategood/httpful

A Readable, Chainable, REST friendly, PHP HTTP Client

1.8k17.5M274](/packages/nategood-httpful)[quickbooks/payments-sdk

The Official PHP SDK for QuickBooks Online Payments API

2758.9k2](/packages/quickbooks-payments-sdk)[jsor/hal-client

A lightweight client for consuming and manipulating Hypertext Application Language (HAL) resources.

2226.0k1](/packages/jsor-hal-client)

PHPackages © 2026

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