2017 © Pedro Peláez
 

library moneta

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

image

gregoriohc/moneta

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

  • Monday, March 12, 2018
  • by gregoriohc
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Moneta

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*1)

A framework agnostic, multi-gateway payment processing library for PHP 7.0+, (*2)

Install

Via Composer, (*3)

``` bash $ composer require gregoriohc/moneta, (*4)


Install required gateways, for example: ``` bash $ composer require gregoriohc/moneta-stripe

Usage

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

$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();, (*6)

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


## Testing ``` bash $ composer test

Change log

Please see CHANGELOG for more information on what has changed recently., (*8)

Contributing

Please see CONTRIBUTING for details., (*9)

Security

If you discover any security related issues, please email gregoriohc@gmail.com instead of using the issue tracker., (*10)

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., (*11)

Credits

License

The MIT License (MIT). Please see License File for more information., (*12)

The Versions

12/03 2018

dev-master

9999999-dev https://github.com/gregoriohc/moneta

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

  Sources   Download

MIT

The Requires

 

The Development Requires

moneta gregoriohc

12/03 2018

v1.0.1

1.0.1.0 https://github.com/gregoriohc/moneta

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

  Sources   Download

MIT

The Requires

 

The Development Requires

moneta gregoriohc

12/03 2018

v1.0.0

1.0.0.0 https://github.com/gregoriohc/moneta

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

  Sources   Download

MIT

The Requires

 

The Development Requires

moneta gregoriohc