gordalina/mangopay-php

PHP library to communicate with mangopay.com API

0.0.11 2013-12-16 19:47 UTC

This package is auto-updated.

Last update: 2024-11-20 08:24:49 UTC


README

This library provides a simple API to communicate with Mangopay

Installing via Composer

The recommended way to install is through Composer.

# Install Composer
$ curl -sS https://getcomposer.org/installer | php

# Add easypay-php as a dependency
$ php composer.phar require gordalina/mangopay:~0.0

After installing, you need to require Composer's autoloader:

require 'vendor/autoload.php';

Testing

This library uses PHPUnit. In order to run the unit tests, you'll first need to install the development dependencies of the project using Composer:

$ php composer.phar install --dev

You can then run the tests using phpunit

$ bin/phpunit

If you want to run integration tests you have to copy phpunit.xml.dist to phpunit.xml then insert your credentials and set MANGOPAY_RUN_INTEGRATION_TESTS to true.

Then run phpunit

$ bin/phpunit --exclude-group none

License

This library is under the MIT License, see the complete license here