From 1c30b9adb71258e86558fd460dc82bbe5550312d Mon Sep 17 00:00:00 2001 From: Amitesh Bharti Date: Tue, 12 Apr 2022 16:49:47 +0530 Subject: [PATCH 1/2] Update README.md default folder name is xero-php-oauth2-starter --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 71bbba8b..52fa75ff 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ To run locally, you'll need a local web server with PHP support. ### Download this code * Clone this repo into your local server webroot. i.e. `htdocs` -* Launch a terminal app and change to the newly cloned folder `xero-php-oauth2-app` +* Launch a terminal app and change to the newly cloned folder `xero-php-oauth2-starter` * Download dependencies with Composer using the following command: ``` @@ -24,7 +24,7 @@ To obtain your API keys, follow these steps and create a Xero app * Login to [Xero developer center](https://developer.xero.com/myapps) * Click "New App" link * Enter your App name, company url, privacy policy url. -* Enter the redirect URI (your callback url - i.e. `http://localhost:8888/xero-php-oauth2-app/callback.php`) +* Enter the redirect URI (your callback url - i.e. `http://localhost:8888/xero-php-oauth2-starter/callback.php`) * Agree to terms and condition and click "Create App". * Click "Generate a secret" button. * Copy your client id and client secret and save for use later. From fa46bb94f9321a4ddff7d96a1c43f170bd374814 Mon Sep 17 00:00:00 2001 From: Amitesh Bharti Date: Tue, 12 Apr 2022 19:09:12 +0530 Subject: [PATCH 2/2] Update composer.json xeroapi/xero-php-oauth2 version needs to be updated to latest --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 3312cf4c..5d260033 100755 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Xero Starter oAuth2 app for PHP", "type": "project", "require": { - "xeroapi/xero-php-oauth2": "2.5.4", + "xeroapi/xero-php-oauth2": "2.12.1", "monolog/monolog": "1.0" }, "license": "MIT",