PHP code example of assemble / l5xero

1. Go to this page and download the library: Download assemble/l5xero library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

assemble / l5xero example snippets

 php
Assemble\l5xero\XeroServiceProvider::class,
 php
'Xero' => Assemble\l5xero\Xero::class,
 php
'oauth' => [

        'callback'          => 'oob',
        'consumer_key'      => 'YOURCONSUMERKEY',
        'consumer_secret'   => 'YOURSECRETKEY',
        'rsa_private_key'  	=> 'privatekey.pem',
        'rsa_public_key'   	=> 'publickey.cer'
    ]