forked from LiveCarta/PayPal-PHP-SDK
Updating README.md with a link to the drop-and-use sdk zip for non-composer developers
See https://github.com/paypal/rest-api-sdk-php/issues/18#issuecomment-22305352
This commit is contained in:
@@ -9,13 +9,14 @@ This repository contains PayPal's PHP SDK and samples for REST API.
|
|||||||
|
|
||||||
* PHP 5.3 or above
|
* PHP 5.3 or above
|
||||||
* curl, json & openssl extensions must be enabled
|
* 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
|
## Running the sample
|
||||||
|
|
||||||
* Ensure that you have composer installed on your machine.
|
* `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.
|
||||||
* Navigate to the samples folder and run 'composer update --no-dev'.
|
* 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.
|
* 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.
|
* Run any of the samples in the 'samples' folder to see what the APIs can do.
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
The sample comes pre-configured with a test account but in case you need to try them against your account, you must
|
||||||
|
|||||||
Reference in New Issue
Block a user