Skip to content

Instantly share code, notes, and snippets.

@mjallday
Created August 23, 2012 18:17
Show Gist options
  • Save mjallday/3439827 to your computer and use it in GitHub Desktop.
Save mjallday/3439827 to your computer and use it in GitHub Desktop.
Balanced PHP Quickstart
curl -s http://getcomposer.org/installer | php
echo '{
"require": {
"balanced/balanced":
}
}' > composer.json
php composer.phar install
curl https://raw.github.com/balanced/balanced-php/master/example/example.php > example.php
php example.php
curl https://raw.github.com/balanced/balanced-php/master/example/buyer-example.php > buyer-example.php
php -S 127.0.0.1:9321 buyer-example.php
# now open a browser and go to http://127.0.0.1:9321/ to view how to tokenize cards and add to a buyer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment