PHPackages                             phuongdev89/omnipay-anymoney - 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. [Payment Processing](/categories/payments)
4. /
5. phuongdev89/omnipay-anymoney

ActiveLibrary[Payment Processing](/categories/payments)

phuongdev89/omnipay-anymoney
============================

Any.Money driver for the Omnipay payment processing library

067PHP

Since Jan 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/phuongdev89/omnipay-anymoney)[ Packagist](https://packagist.org/packages/phuongdev89/omnipay-anymoney)[ RSS](/packages/phuongdev89-omnipay-anymoney/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Omnipay: Any.Money
==================

[](#omnipay-anymoney)

[Any.Money](https://any.money) payment processing driver for the Omnipay PHP payment processing library.

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

[](#installation)

The preferred way to install this library is through [composer](http://getcomposer.org/download/).

Either run

```
$ php composer.phar require phuongdev89/omnipay-anymoney "*"

```

or add

```
"phuongdev89/omnipay-anymoney": "*"

```

to the `require` section of your `composer.json` file.

Usage
-----

[](#usage)

The following gateways are provided by this package:

#### Init Any.Money

[](#init-anymoney)

```
    $gateway = \Omnipay\Omnipay::create(\Omnipay\AnyMoney\Gateway::NAME);
    $gateway->initialize([
        'api_key'  => $API_KEY,
        'merchant' => $MERCHANT,
    ]);
```

### Authentication

[](#authentication)

Detail:

#### Get Balance

[](#get-balance)

```
    $balance = $gateway->balance(['curr'=>'USD'])->send();
    if($balance->isSuccessful()){
        var_dump($balance->getResult());
    } else {
        var_dump($balance->getError());
        var_dump($balance->getMessage());
    }
```

### Invoice

[](#invoice)

Detail:

#### Create invoice

[](#create-invoice)

```
    $invoice = $gateway->invoice([
        'amount'     => 10,
        'externalid' => '1001',//must be unique each call
        'in_curr'    => 'USD',
    ])->create();
    if($invoice->isSuccessful()){
        var_dump($balance->getRedirectUrl());
        var_dump($balance->getData());
    } else {
        var_dump($balance->getError());
        var_dump($balance->getMessage());
    }
```

#### Calc invoice

[](#calc-invoice)

```
    $invoice = $gateway->invoice([
        'amount'     => 10,
        'in_curr'    => 'USD',
    ])->calc();
    if($invoice->isSuccessful()){
        var_dump($balance->getResult());
    } else {
        var_dump($balance->getError());
        var_dump($balance->getMessage());
    }
```

#### Get invoice

[](#get-invoice)

```
    $invoice = $gateway->invoice([
        'externalid' => '1001',
    ])->get();
    if($invoice->isSuccessful()){
        var_dump($balance->getResult());
    } else {
        var_dump($balance->getError());
        var_dump($balance->getMessage());
    }
```

For general usage instructions, please see the main [Omnipay](https://github.com/thephpleague/omnipay)repository.

Support
-------

[](#support)

If you are having general issues with Omnipay, we suggest posting on [Stack Overflow](http://stackoverflow.com/). Be sure to add the [omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found.

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to.

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/phuongdev89/omnipay-anymoney/issues).

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

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.

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/phuongdev89-omnipay-anymoney/health.svg)

```
[![Health](https://phpackages.com/badges/phuongdev89-omnipay-anymoney/health.svg)](https://phpackages.com/packages/phuongdev89-omnipay-anymoney)
```

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18570.2k1](/packages/omnipay-coinbase)

PHPackages © 2026

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