PHP code example of otisz / laravel-billingo

1. Go to this page and download the library: Download otisz/laravel-billingo 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/ */

    

otisz / laravel-billingo example snippets


'providers' => [
    ...
    Otisz\Billingo\BillingoServiceProvider::class,
    ...
],

'aliases' => [
    ...
    'Billingo' =>  Otisz\Billingo\Facades\Billingo::class,
    ...
],



return [
    /*
     * The public key for Billingo
     */
    'public_key' => env('BILLINGO_PUBLIC_KEY'),

    /*
     * Private key
     */
    'private_key' => env('BILLINGO_PRIVATE_KEY'),
];

\Billingo::connector();

\Billingo::get(string $uri, array $payload = []);

\Billingo::post(string $uri, array $payload = []);

\Billingo::put(string $uri, array $payload = []);

\Billingo::delete(string $uri, array $payload = []);

\Billingo::clients();

\Billingo::invoices();

\Billingo::products();

\Billingo::bankAccounts();

\Billingo::currency();

\Billingo::expenses();

\Billingo::paymentMethods();

\Billingo::recurring();

\Billingo::vat();