PHPackages                             mitalcoi/php-webmoney - 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. mitalcoi/php-webmoney

ActiveLibrary[API Development](/categories/api)

mitalcoi/php-webmoney
=====================

WebMoney API PHP Library

v0.10.3(11y ago)021BSD-3-ClausePHPPHP &gt;=5.3

Since Jun 5Pushed 11y agoCompare

[ Source](https://github.com/mitalcoi/php-webmoney)[ Packagist](https://packagist.org/packages/mitalcoi/php-webmoney)[ Docs](http://github.com/baibaratsky/php-webmoney)[ RSS](/packages/mitalcoi-php-webmoney/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (10)Used By (0)

WebMoney API PHP Library
========================

[](#webmoney-api-php-library)

[![Packagist](https://camo.githubusercontent.com/17e21793e5c18a7fabd40d52801e8bc59a2775ab969f8dedcd8f587f6a9ecb26/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6261696261726174736b792f7068702d7765626d6f6e65792e737667)](https://github.com/baibaratsky/php-webmoney/blob/master/LICENSE.md)[![Dependency Status](https://camo.githubusercontent.com/2003d2d42d44f48e7aa410d906b8b7c04a8d4d11648716ad591544505e2aa15f/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3535333136383061313065373134663965353030313061642f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/5531680a10e714f9e50010ad)[![Packagist](https://camo.githubusercontent.com/9cb2e64bf63bec798bc964d0af11ab15fa56187be128ae279ee557e13785874d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6261696261726174736b792f7068702d7765626d6f6e65792e737667)](https://packagist.org/packages/baibaratsky/php-webmoney)[![Packagist](https://camo.githubusercontent.com/71e2cdcf96aeb4763d1f5609dd4cdcf60686d0177fae863501f85aad3f63c1b1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6261696261726174736b792f7068702d7765626d6f6e65792e737667)](https://packagist.org/packages/baibaratsky/php-webmoney)

Get transparent object-oriented interaction with WebMoney API.

If you just need to sign your requests to the API, use [WebMoney Signer](https://github.com/baibaratsky/php-wmsigner), a native PHP implementation of the WMSigner authentication module.

XML-interfaces supported
------------------------

[](#xml-interfaces-supported)

- [X2](https://github.com/baibaratsky/php-webmoney/wiki/X2): transferring funds from one purse to another
- [X3](https://github.com/baibaratsky/php-webmoney/wiki/X3): receiving transaction history, checking transaction status
- [X6](https://github.com/baibaratsky/php-webmoney/wiki/X6): sending message to any WM-identifier via internal mail
- [X8](https://github.com/baibaratsky/php-webmoney/wiki/X8): retrieving information about purse ownership, searching for system user by his/her identifier or purse
- [X9](https://github.com/baibaratsky/php-webmoney/wiki/X9): retrieving information about purse balance
- [X11](https://github.com/baibaratsky/php-webmoney/wiki/X11): retrieving information from client’s passport by WM-identifier
- [X14](https://github.com/baibaratsky/php-webmoney/wiki/X14): fee-free refund
- [X17](https://github.com/baibaratsky/php-webmoney/wiki/X17): operations with arbitration contracts
- [X18](https://github.com/baibaratsky/php-webmoney/wiki/X18): getting transaction details via merchant.webmoney
- [X19](https://github.com/baibaratsky/php-webmoney/wiki/X19): verifying personal information for the owner of a WM identifier

Megastock interfaces supported
------------------------------

[](#megastock-interfaces-supported)

- Interface for [adding Payment Integrator's merchants](https://github.com/baibaratsky/php-webmoney/wiki/Adding-Payment-Integrator%27s-merchant)
- Interface for [check status of merchant](https://github.com/baibaratsky/php-webmoney/wiki/Check-status-of-merchant)

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

[](#requirements)

The library requires PHP 5.3 compiled with [cURL extension](http://www.php.net/manual/en/book.curl.php) (but you can override cURL dependencies).

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

[](#installation)

1. Install [Composer](http://getcomposer.org/):

    ```
    curl -sS https://getcomposer.org/installer | php

    ```
2. Add the php-webmoney dependency:

    ```
    php composer.phar require baibaratsky/php-webmoney:0.10.*

    ```

Usage
-----

[](#usage)

**There are more usage examples in [the project wiki](https://github.com/baibaratsky/php-webmoney/wiki).**

```
require_once(__DIR__ . '/vendor/autoload.php'); // Require autoload file generated by composer

use baibaratsky\WebMoney;
use baibaratsky\WebMoney\Signer;

$webMoney = new WebMoney\WebMoney(new WebMoney\Request\Requester\CurlRequester);

$request = new WebMoney\Api\X\X9\Request;
$request->setSignerWmid('YOUR WMID');
$request->setRequestedWmid('REQUESTED WMID');

$request->sign(new Signer('YOUR WMID', 'FULL PATH TO KEY FILE', 'KEY FILE PASSWORD'));

if ($request->validate()) {
    /** @var WebMoney\Api\X\X9\Response $response */
    $response = $webMoney->request($request);

    if ($response->getReturnCode() === 0) {
        echo $response->getPurseByName('Z000000000000')->getAmount();
    }
}
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.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

Every ~59 days

Recently: every ~18 days

Total

6

Last Release

4066d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c3f6a6a42f0ae7eea505176bebc2dae91e17d01918cd478115b18c68c764e5cd?d=identicon)[mitalcoi](/maintainers/mitalcoi)

---

Top Contributors

[![baibaratsky](https://avatars.githubusercontent.com/u/1774061?v=4)](https://github.com/baibaratsky "baibaratsky (102 commits)")[![chuprik](https://avatars.githubusercontent.com/u/802946?v=4)](https://github.com/chuprik "chuprik (84 commits)")[![mitalcoi](https://avatars.githubusercontent.com/u/3224226?v=4)](https://github.com/mitalcoi "mitalcoi (7 commits)")

---

Tags

webmoneyWMXImegastockcapitallerwmsigner

### Embed Badge

![Health badge](/badges/mitalcoi-php-webmoney/health.svg)

```
[![Health](https://phpackages.com/badges/mitalcoi-php-webmoney/health.svg)](https://phpackages.com/packages/mitalcoi-php-webmoney)
```

###  Alternatives

[baibaratsky/php-webmoney

WebMoney API PHP Library

75367.4k1](/packages/baibaratsky-php-webmoney)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23914.2M16](/packages/hubspot-api-client)

PHPackages © 2026

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