MangopaySymfonyWrapper
Mongopay API Wrapper to integrate Mongopay into symfony2 project, (*1)
To use this wrapper:, (*2)
1 - Add to your composer.json, (*3)
"mangopay/php-sdk-v2": "1.4.*",
"wawagit/mangopay-symfony-wrapper": "dev-master"
2 - You can use autoloader service of symfony to load MangoPay API:, (*4)
Edit app/autoload.php, (*5)
$loader->add('MangoPay\\MangoPayApi', __DIR__.'/../vendor/wawagit/mangopay-symfony-wrapper/lib');
And then use API like that:, (*6)
// At the beginning of your php file
use MangoPay\MangoPayApi;
$api = new MangoPayApi();