supplycart / xero
Xero integration
2.0.2
2024-06-19 09:14 UTC
Requires
- php: ^8.3
- ext-json: *
- guzzlehttp/guzzle: ^7.0.1
- spatie/data-transfer-object: ^3.9
- spatie/laravel-data: ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.6
- orchestra/testbench: ^9.0
This package is auto-updated.
Last update: 2026-06-19 13:35:40 UTC
README
A simple Laravel package to work with XERO API. Using latest OAuth 2.0.
Getting Started
- Register and create new application in XERO, https://developer.xero.com.
- Get Client ID and Client Secret key and key in the redirect URI.
Installation
Install the package using composer:
composer require supplycart/xero
Add this to your .env file:
XERO_CLIENT_ID={your client id} XERO_CLIENT_SECRET={your client secret} XERO_REDIRECT_URI={your oauth redirect uri} XERO_AUTHENTICATED_URI={your redirected url after oauth}