PHPackages                             mnpy/mnpy-php-api-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. mnpy/mnpy-php-api-sdk

ActiveLibrary[API Development](/categories/api)

mnpy/mnpy-php-api-sdk
=====================

PHP SDK for the MNPY API.

v0.1.0(8y ago)05612PHP

Since Mar 18Pushed 8y ago1 watchersCompare

[ Source](https://github.com/MNPY/mnpy-php-api-sdk)[ Packagist](https://packagist.org/packages/mnpy/mnpy-php-api-sdk)[ RSS](/packages/mnpy-mnpy-php-api-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (3)Versions (3)Used By (2)

MNPY - PHP API SDK
==================

[](#mnpy---php-api-sdk)

[MNPY](https://mnpy.io/) | [Documentation](https://mnpy.gitbooks.io/mnpy-api/content/)

Start accepting over hundreds cryptocurrencies without minimum costs, fixed contracts and hidden costs. At MNPY you pay for successful transactions only. Read more at [MNPY](https://mnpy.io/).

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

[](#requirements)

It's easy to start using MNPY, you need;

- PHP &gt;7.0
- A [MNPY account](https://mnpy.io/dashboard/register)
- A Ethereum wallet, preferably ERC20 compliant

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

[](#installation)

You are encouraged to install the PHP SDK using [Composer](http://getcomposer.org/doc/00-intro.md).

```
$ composer require mnpy/mnpy-php-api-sdk

```

Optionally, you can checkout the git repository and manually load the required files.

Getting started
---------------

[](#getting-started)

Require the autoloader generated by Composer (or build your own) and initialize one of the resources. In this example we will use the Transaction resource.

```
$transaction = new Transaction('API_KEY');
```

optinally, you can set the API key by calling the `setApiKey` method on the resource like so;

```
$transaction->setApiKey('API_KEY');
```

Now you can create a transaction by calling the create method. The method signature is as following:

```
public function create(string $merchant_name, float $price, string $address, string $redirect_url, array $options);
```

Where the options are all the additional parameters as defined in the [documentation](https://mnpy.gitbooks.io/mnpy-api/content/). When taking this in account we can create a transaction like so;

```
$tx = $transaction->create(
   'MNPY Store',
   100,
   '0x960819D261AbaF8df1F7cc0b8Cb5CaA30410cC6f',
   'https://mnpy.io/',
   [
        'fee'  => 5,
        'code' => 'VEN'
   ]
);
```

If succesful, `$tx` will now contain all the required transaction data.

To retrieve a transaction, you can simply do;

```
$tx = $transaction->get($tx->uuid);

echo $tx->status;
```

License
-------

[](#license)

[BSD (Berkeley Software Distribution) License](https://opensource.org/licenses/bsd-license.php). Copyright © 2018 MNPY

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

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

3026d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36899987?v=4)[MNPY](/maintainers/mnpy)[@MNPY](https://github.com/MNPY)

---

Top Contributors

[![chefbuitenhuis](https://avatars.githubusercontent.com/u/7578636?v=4)](https://github.com/chefbuitenhuis "chefbuitenhuis (4 commits)")[![ruthgeridema](https://avatars.githubusercontent.com/u/13556910?v=4)](https://github.com/ruthgeridema "ruthgeridema (1 commits)")

---

Tags

erc20ethereummnpyphpvechain

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/mnpy-mnpy-php-api-sdk/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[avalara/avataxclient

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

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1942.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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