Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.02 KB

File metadata and controls

27 lines (17 loc) · 1.02 KB

Sage One API Sample application (PHP)

FOR changes required for v3 please refer to the v3 branch

NOTE: v3 is currently under development. It is only available in Canada [Beta]

Sample PHP project that integrates with Sage One Accounting via the Sage One API.

Run the app locally

Clone the repo:

git clone git@github.com:Sage/sageone_api_php_sample.git

Update the sageone_constants.php file with your application's client_id, client_secret, signing_secret and callback_url.

Switch to the project directory and start a local PHP server:

cd sageone_api_php_sample
php -S localhost:8000

You can now access the home page, authorize and make an API call.