PHPackages                             vladchornyi/mono - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vladchornyi/mono

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vladchornyi/mono
================

Production-ready PHP client for Monobank Acquiring API

v1.4.0(1mo ago)124MITPHPPHP ^8.0

Since Aug 24Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/authorOd/monobank-acquiring)[ Packagist](https://packagist.org/packages/vladchornyi/mono)[ RSS](/packages/vladchornyi-mono/feed)WikiDiscussions main Synced 2w ago

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

Monobank Acquiring PHP Client
=============================

[](#monobank-acquiring-php-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e47502064b604cafd5bc2eb3ad31f47861087f054ddcaf56eda2fe43bf19b575/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f766c616463686f726e79692f6d6f6e6f2e737667)](https://packagist.org/packages/vladchornyi/mono)[![Total Downloads](https://camo.githubusercontent.com/d92e1be88459a9499ebfdd7291db5fced42140347d964ab2dbb345b9899d431b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f766c616463686f726e79692f6d6f6e6f2e737667)](https://packagist.org/packages/vladchornyi/mono)[![PHP Version](https://camo.githubusercontent.com/5e1c7529ac52a8ae91f887ffda89f7df95f6d0af4de217f126916708a56a8f14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f766c616463686f726e79692f6d6f6e6f2e737667)](https://packagist.org/packages/vladchornyi/mono)[![License](https://camo.githubusercontent.com/7ac2792e86d158de1e9d904a578fd1cffd6e4c9b06bb32d4d4440521418f1c57/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f766c616463686f726e79692f6d6f6e6f2e737667)](LICENSE)[![GitHub Release](https://camo.githubusercontent.com/3e974791457d7f7fc61e23578e3cdf3cb709e312f709815e997bf76ff6ccb5a5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f617574686f724f642f6d6f6e6f62616e6b2d616371756972696e673f646973706c61795f6e616d653d746167)](https://github.com/authorOd/monobank-acquiring/releases)

Production-ready PHP client for the Monobank Acquiring API: invoices, subscriptions, statements, merchant details, webhook signature verification, and structured error handling.

Features
--------

[](#features)

- Invoices: create, status, cancel, invalidate, and hold finalization.
- Subscriptions: create, status, list, payment history, cancel/edit.
- Statements and merchant details.
- Verified webhook parsing with `X-Sign` support.
- Typed webhook payload helpers for invoice and subscription events.
- Stale webhook protection via `modifiedDate`.
- Replaceable HTTP layer for tests and framework integrations.
- Structured exceptions and safe logging helpers.

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

[](#requirements)

- PHP 8.0+
- `ext-curl`
- `ext-json`
- `ext-mbstring`
- `ext-openssl`

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

[](#installation)

```
composer require vladchornyi/mono:^1.4
```

Quick Start
-----------

[](#quick-start)

```
use Vladchornyi\Mono\MonoClient;

$mono = new MonoClient($_ENV['MONO_KEY']);

$merchant = $mono->merchant()->getDetails();
$publicKey = $mono->pubkey()->get();
```

Documentation
-------------

[](#documentation)

- [Installation and client setup](docs/installation.md)
- [Invoices](docs/invoices.md)
- [Webhooks](docs/webhooks.md)
- [Subscriptions](docs/subscriptions.md)
- [Statements and merchant details](docs/statements.md)
- [Errors and safe logging](docs/errors-and-logging.md)

Testing From Source
-------------------

[](#testing-from-source)

```
composer test
```

The default test suite is self-contained and does not call Monobank.

For an optional live smoke test, set `MONO_KEY` or `MONO_ENV_FILE`:

```
MONO_KEY=... composer test:live
MONO_ENV_FILE=/path/to/.env composer test:live
```

To verify live invoice and subscription creation with a test merchant key:

```
MONO_KEY=... composer test:live-create
MONO_ENV_FILE=/path/to/.env composer test:live-create
```

The live create smoke test uses a minimal amount and attempts cleanup after creation.

License
-------

[](#license)

MIT

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance91

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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

Every ~135 days

Recently: every ~150 days

Total

6

Last Release

47d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10728859?v=4)[Vlad C](/maintainers/authorOd)[@authorOd](https://github.com/authorOd)

---

Top Contributors

[![authorOd](https://avatars.githubusercontent.com/u/10728859?v=4)](https://github.com/authorOd "authorOd (13 commits)")

---

Tags

acquiringcomposermonobankmonobank-acquiringpaymentsphpsubscriptionswebhookswebhookspaymentsacquiringmonomonobank

### Embed Badge

![Health badge](/badges/vladchornyi-mono/health.svg)

```
[![Health](https://phpackages.com/badges/vladchornyi-mono/health.svg)](https://phpackages.com/packages/vladchornyi-mono)
```

###  Alternatives

[craftcms/webhooks

Post webhooks when events are triggered in Craft CMS.

84140.3k1](/packages/craftcms-webhooks)[halilcosdu/laravel-replicate

Laravel client for Replicate predictions, files, models, trainings, and signed webhooks

5312.5k](/packages/halilcosdu-laravel-replicate)

PHPackages © 2026

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