https://github.com/gocardless/gocardless-pro-php-demo
Pro client PHP demo
https://github.com/gocardless/gocardless-pro-php-demo
Last synced: about 1 year ago
JSON representation
Pro client PHP demo
- Host: GitHub
- URL: https://github.com/gocardless/gocardless-pro-php-demo
- Owner: gocardless
- Created: 2015-04-10T13:54:22.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-11-06T21:54:51.000Z (over 1 year ago)
- Last Synced: 2025-04-05T01:01:43.194Z (over 1 year ago)
- Language: PHP
- Size: 30.3 KB
- Stars: 1
- Watchers: 95
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### GoCardless PHP Client Demo App
This is a small demo application utilizing the GoCardless PHP client to list customers, create mandates, view mandates, and list payments.
The code interfacing with the GoCardless api exists in `gocardless.php` and some actions are within the `router.php` file also in the root directory. This example uses the builtin PHP webserver by default, but you can use any normal PHP server as well.
To get started get your API Token, then run `GC_TOKEN=YOUR_TOKEN make server` to install dependencies and start the server. The makefile should take care of everything if you're running on osx or linux with PHP >=5.3.3 installed.