assemble / l5xero
Integrate into Xero financial system, to pull invoices and manage payments made. wrapper of calcinai/xero-php.
v1.0.1
2019-11-11 12:49 UTC
Requires
- calcinai/xero-php: 1.8.6
This package is auto-updated.
Last update: 2025-01-09 18:36:51 UTC
README
Laravel 5 wrapper for calcinai/xero-php All credit where its due to calcinai/xero-php contributors for the awesome OO implementation.
Installation
Add this line to your providers
array:
Assemble\l5xero\XeroServiceProvider::class,
Add this line to your aliases
array:
'Xero' => Assemble\l5xero\Xero::class,
You will need to run php artisan vendor:publish
to publish the config file to your instalation,
Once run, you can find it in config/xero.php
.
Configuration
The config file can be found in the laravel config folder at config/xero.php
'oauth' => [ 'callback' => 'oob', 'consumer_key' => 'YOURCONSUMERKEY', 'consumer_secret' => 'YOURSECRETKEY', 'rsa_private_key' => 'privatekey.pem', 'rsa_public_key' => 'publickey.cer' ]