2017 © Pedro Peláez
 

library empg

Enhanced MPG unified API for PHP 7.x

image

cyphp/empg

Enhanced MPG unified API for PHP 7.x

  • Sunday, February 26, 2017
  • by cyveros
  • Repository
  • 5 Watchers
  • 2 Stars
  • 24 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

empg Build Status

Total Downloads Latest Stable Version, (*1)

Enhanced MPG unified API library for PHP 7.x, (*2)

Inspired by https://github.com/Moneris/eCommerce-Unified-API-PHP, (*3)

Features

  • PHP 7.x compatible
  • Improvement reliability
  • Composer package
  • Mimic as much as original class nomenclature

Install

composer require cyphp/empg

Example

require_once './vender/autoload.php';

use Empg\Client;

$client = new Client('MY_STORE_ID', 'MY_API_TOKEN');

$response = $client->post(
    new MpgRequest(
        new MpgTransaction([
            // ...
        ])
    )
);

Use Test Endpoints


$client = new Client('MY_STORE_ID', 'MY_API_TOKEN', [ 'env' => Empg\Configuration::ENV_TEST, ]);

License

MIT, (*4)

The Versions

26/02 2017

dev-master

9999999-dev

Enhanced MPG unified API for PHP 7.x

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

by Avatar cyveros

31/01 2017

0.0.2

0.0.2.0

Enhanced MPG unified API for PHP 7.x

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

by Avatar cyveros

10/01 2017

v0.0.1

0.0.1.0

Enhanced MPG unified API for PHP 7.x

  Sources   Download

GPL-3.0

The Requires

  • php ^5.6 || ^7.0

 

by Avatar cyveros