PHPackages                             gregoriohc/moneta - 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. gregoriohc/moneta

ActiveLibrary[Payment Processing](/categories/payments)

gregoriohc/moneta
=================

A framework agnostic, multi-gateway payment processing library for PHP 7.0+

v1.0.1(8y ago)09MITPHPPHP ~5.6|~7.0

Since Mar 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/gregoriohc/moneta)[ Packagist](https://packagist.org/packages/gregoriohc/moneta)[ Docs](https://github.com/gregoriohc/moneta)[ RSS](/packages/gregoriohc-moneta/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Moneta
======

[](#moneta)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d31943c1ff9e23606e14c899712958a3b44c0cccbbd4eac0516af1a4b61edb3e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f677265676f72696f68632f6d6f6e6574612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gregoriohc/moneta)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/96db64eed2ca71c999531156f141acfb85e0efc743a44e91e0d667282ad07e2b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f677265676f72696f68632f6d6f6e6574612f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/gregoriohc/moneta)[![Coverage Status](https://camo.githubusercontent.com/7fc5f329444a9aaa31ff677a5805f855b4b0b16cc660f53d1fbb17f2040b1f0e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f677265676f72696f68632f6d6f6e6574612e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/gregoriohc/moneta/code-structure)[![Quality Score](https://camo.githubusercontent.com/91e5590f259c6ad43334bc12823714271e69d8c0d39250d9a4f88c0e77d05093/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f677265676f72696f68632f6d6f6e6574612e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/gregoriohc/moneta)[![Total Downloads](https://camo.githubusercontent.com/c2617e6f18a108e624e20b2ea74bdce9f422375f25f60d3f246768179910bf98/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f677265676f72696f68632f6d6f6e6574612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gregoriohc/moneta)

A framework agnostic, multi-gateway payment processing library for PHP 7.0+

Install
-------

[](#install)

Via Composer

```
$ composer require gregoriohc/moneta
```

Install required gateways, for example:

```
$ composer require gregoriohc/moneta-stripe
```

Usage
-----

[](#usage)

```
$gateway = Moneta::create('Stripe', [
    'test_mode' => true',
    'api_key' => 'API_KEY',
]);

$response = $request = $gateway->capture([
    'card' => new Card([
        'full_name' => 'John Doe',
        'number' => '4111111111111111',
        'expiration_month' => '06',
        'expiration_year' => '2024',
        'verification_value' => '123',
    ]),
    'amount' => 100,
    'currency' => 'USD',
])->send();

if ($response->isSuccessful()) {
    // Do something with the $response->data()
}
```

Testing
-------

[](#testing)

```
$ composer test
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Socialware
----------

[](#socialware)

You're free to use this package, but if it makes it to your production environment I highly appreciate you sharing it on any social network.

Credits
-------

[](#credits)

- [Gregorio Hernández Caso](https://github.com/gregoriohc)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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 ~0 days

Total

2

Last Release

3032d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/566841?v=4)[Gregorio Hernández Caso](/maintainers/gregoriohc)[@gregoriohc](https://github.com/gregoriohc)

---

Top Contributors

[![gregoriohc](https://avatars.githubusercontent.com/u/566841?v=4)](https://github.com/gregoriohc "gregoriohc (22 commits)")

---

Tags

gregoriohcmoneta

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/gregoriohc-moneta/health.svg)

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

###  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)
