The GoCardless PHP client provides a simple PHP interface to the GoCardless API.
If you want to use the library as an individual merchant, refer to the merchant guide. If you want to support multiple merchant accounts, see the partner guide.
$ git clone git://github.com/gocardless/gocardless-php.git
$ curl -L https://github.com/downloads/gocardless/gocardless-php/gocardless-php-v0.1.1.tgz | tar xzv
Click here to download the zip file.
Add gocardless/gocardless
to the contents of your composer.json:
{
"require": {
"gocardless/gocardless": ">=0.1.1"
}
}