gocardless / enterprise
A php library for interfacing with the GoCardless Pro (formerly GoCardless Enterprise) REST API. Please note this library is not for use with their standard API.
Installs: 22 963
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 39
Forks: 4
Open Issues: 1
Requires
- php: ^5.6|^7.0
- ext-json: *
- guzzlehttp/guzzle: ^6.0|^7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: *
- jakub-onderka/php-parallel-lint: ^1.0
- php-coveralls/php-coveralls: ^2.1
- phpstan/phpstan: ^0.11
- phpstan/phpstan-phpunit: ^0.11
- phpunit/phpunit: ^7.3
- symfony/phpunit-bridge: ^2.8|^3.0|^4.0
README
We recommend that the official package from Gocardless is used: https://packagist.org/packages/gocardless/gocardless-pro
Unofficial integration with GoCardless Enterprise API
Client library for the GoCardless Enterprise API
You will need to create a config.php with the configuration settings (a dist file is provided for reference):
<?php
return [
'baseUrl' => 'https://api-sandbox.gocardless.com/',
'gocardlessVersion' => '2015-07-06',
'webhook_secret' => XXXXXXXXXXXXXXXXXXXXXX,
'creditorId' => XXXXXXXXXXXXXX,
'token' => XXXXXXXXXXXXXXXXXXXXXXXXXXX,
];
After adding the configuration, run the unit tests:
$ php vendor/bin/phpunit