gordalina / mangopay-php
PHP library to communicate with mangopay.com API
Installs: 1 113
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: >=5.3.3
- guzzle/guzzle: ~3.7
Requires (Dev)
- phpunit/phpunit: ~3.7
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