This is an example PHP application using the Samurai PHP client library.
Install the Samurai example app by doing the following:
git clone git://github.com/FeeFighters/samurai-client-php.git
git clone git://github.com/FeeFighters/samurai-example-php.git
Otherwise, download the .tar.gz or .zip archives
You can use any of the following test cards to test the example app:
4111111111111111
6011000000000012
For information about the various parameters you can use to trigger specific processor responses, see the Developer Sandbox page.