You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
[](https://packagist.org/packages/webfox/laravel-xero-oauth2)
This package integrates the new reccomended package of [xeroapi/xero-php-oauth2](https://github.com/XeroAPI/xero-php-oauth2) using the Oauth 2.0 spec with
6
+
This package integrates the new recommended package of [xeroapi/xero-php-oauth2](https://github.com/XeroAPI/xero-php-oauth2) using the Oauth 2.0 spec with
7
7
Laravel.
8
8
9
9
## Installation
@@ -186,6 +186,15 @@ class XeroWebhookController extends Controller
186
186
}
187
187
```
188
188
189
+
## Example calls
190
+
191
+
This package is simply a bridge so you don't have to deal with the Oauth2 gymnastics in Laravel.
192
+
193
+
Once you've have an instance of \XeroAPI\XeroPHP\Api\AccountingApi::class you're dealing directly with Xero's api library.
194
+
195
+
The XeroAPI PHP Oauth2 App repository has this list of examples of implementing calls to the API: e.g. invoice creation etc.
0 commit comments