Skip to content

Commit 98d0601

Browse files
authored
Clarify package role & fix spelling mistakes.
credit @accesstechnology
2 parents b83386e + a58994d commit 98d0601

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/webfox/laravel-xero-oauth2.svg?style=flat-square)](https://packagist.org/packages/webfox/laravel-xero-oauth2)
44
[![Total Downloads](https://img.shields.io/packagist/dt/webfox/laravel-xero-oauth2.svg?style=flat-square)](https://packagist.org/packages/webfox/laravel-xero-oauth2)
55

6-
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
77
Laravel.
88

99
## Installation
@@ -186,6 +186,15 @@ class XeroWebhookController extends Controller
186186
}
187187
```
188188

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.
196+
197+
https://github.com/XeroAPI/xero-php-oauth2-app/blob/master/example.php
189198

190199
## License
191200

0 commit comments

Comments
 (0)