Skip to content

Instantly share code, notes, and snippets.

@jaypatel512
Created February 20, 2015 18:38
Show Gist options
  • Save jaypatel512/abcdae7d4d75d5fb709d to your computer and use it in GitHub Desktop.
Save jaypatel512/abcdae7d4d75d5fb709d to your computer and use it in GitHub Desktop.
Quick Command to Start PayPal PHP SDK Sample
dirname=PayPalPHPSDK$(date +%s)
mkdir $dirname
cd $dirname
php -r "readfile('https://getcomposer.org/installer');" | php
php composer.phar require paypal/rest-api-sdk-php
php -f vendor/paypal/rest-api-sdk-php/sample/index.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment