PHPackages                             m-billing/php-sdk - 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. m-billing/php-sdk

ActiveLibrary[API Development](/categories/api)

m-billing/php-sdk
=================

v1.1.5(6y ago)0321[1 issues](https://github.com/m-billing/php-sdk/issues)[1 PRs](https://github.com/m-billing/php-sdk/pulls)MITPHPPHP &gt;=5.3.0CI failing

Since Jun 25Pushed 5y agoCompare

[ Source](https://github.com/m-billing/php-sdk)[ Packagist](https://packagist.org/packages/m-billing/php-sdk)[ RSS](/packages/m-billing-php-sdk/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

M.Billing PHP SDK
=================

[](#mbilling-php-sdk)

Клиент для работы с платежами по [API M.Billing](https://help.mbilling.one)Подходит тем, кто настраивает и обрабатывает платежи на своей стороне.

Требования
----------

[](#требования)

PHP 5.3.2 (и выше) с расширением libcurl

Composer (require)
------------------

[](#composer-require)

1. Установите менеджер пакетов Composer.
2. В консоли выполните команду

```
composer require m-billing/php-sdk
```

Composer (composer.json)
------------------------

[](#composer-composerjson)

1. Добавьте строку `"m-billing/php-sdk": "*"` в список зависимостей вашего проекта в файле composer.json

```
"require": {
    "php": ">=5.3.2",
    "m-billing/php-sdk": "*"

```

2. Обновите зависимости проекта. В консоли перейдите в каталог, где лежит composer.json, и выполните команду:

```
composer update
```

3. В коде вашего проекта подключите автозагрузку файлов нашего клиента:

```
require __DIR__ . '/vendor/autoload.php';
```

Установка вручную
-----------------

[](#установка-вручную)

1. Скачайте [архив M.Billing PHP SDK](https://github.com/m-billing/php-sdk/archive/master.zip), распакуйте его и скопируйте каталог lib в нужное место в вашем проекте.
2. В коде вашего проекта подключите автозагрузку файлов нашего клиента:

```
require __DIR__ . '/lib/autoload.php';
```

Начало работы
-------------

[](#начало-работы)

1. Импортируйте нужные классы

```
use Mbilling\Client;
```

2. Создайте экземпляр объекта клиента и задайте секретный ключ проекта (его можно найти в личном кабинете на странице проекта).

```
$client = new Client();
$client->setAuth('secretKey');
```

3. Вызовите нужный метод API. [Подробнее в документации к API M.Billing](https://help.mbilling.one)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

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

2515d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/38d1ba775fe1387694a957631a234cdb84f3d4ef220cc50bcad1e1a5430b88dc?d=identicon)[mbilling](/maintainers/mbilling)

---

Top Contributors

[![tome-dev](https://avatars.githubusercontent.com/u/64512663?v=4)](https://github.com/tome-dev "tome-dev (15 commits)")[![mbillingone](https://avatars.githubusercontent.com/u/51884542?v=4)](https://github.com/mbillingone "mbillingone (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/m-billing-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/m-billing-php-sdk/health.svg)](https://phpackages.com/packages/m-billing-php-sdk)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M114](/packages/algolia-algoliasearch-client-php)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

517.9M7](/packages/avalara-avataxclient)[alexacrm/dynamics-webapi-toolkit

Web API toolkit for Microsoft Dynamics 365 and Dynamics CRM

81324.1k1](/packages/alexacrm-dynamics-webapi-toolkit)

PHPackages © 2026

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