diff --git a/README.md b/README.md index 252eb9e..a2fac5f 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,14 @@ This repository contains PayPal's PHP SDK and samples for REST API. * PHP 5.3 or above * curl, json & openssl extensions must be enabled - * composer for running the sample out of the box (See http://getcomposer.org) + * composer for fetching dependencies (See http://getcomposer.org) + ## Running the sample - * Ensure that you have composer installed on your machine. - * Navigate to the samples folder and run 'composer update --no-dev'. + * `Composer` is the recommended way to get the SDK. Ensure that you have composer installed on your machine, navigate to the samples folder and run 'composer update --no-dev' to fetch the SDK. + * In case you cannot install composer on your machine, you can also fetch the SDK bundle from https://github.com/paypal/sdk-packages/raw/gh-pages/rest-api-sdk/php/rest-api-sdk-php-0.7.1.zip and unzip the bundle in to the samples folder. * Optionally, update the bootstrap.php file with your own client Id and client secret. * Run any of the samples in the 'samples' folder to see what the APIs can do. diff --git a/sample/README.md b/sample/README.md index dfffbfe..08dfcc3 100644 --- a/sample/README.md +++ b/sample/README.md @@ -2,7 +2,7 @@ Rest API Samples =================== -This sample project is a simple web app that you can explore to understand what the payment APIs can do for you. To try out the sample, run `composer update` from the samples folder and you are all set. +This sample project is a simple web app that you can explore to understand what the payment APIs can do for you. To try out the sample, run `composer update --no-dev` from the samples folder and you are all set. In case you cannot install composer on your machine, you can fetch the SDK download bundle from https://github.com/paypal/sdk-packages/raw/gh-pages/rest-api-sdk/php/rest-api-sdk-php-0.7.1.zip and unzip the contents to the samples folder. The sample comes pre-configured with a test account but in case you need to try them against your account, you must