PHP code example of flarone / laravel-eboekhouden

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

    

flarone / laravel-eboekhouden example snippets

 php
sername = 'username';
$sec_code_1 = 'sec_code_1';
$sec_code_2 = 'sec_code_2';

$client = new Flarone\EBoekhouden\Client($username, $sec_code_1, $sec_code_2);

// Get a SingleSignOnLink (AutoLogin)
$autoLogin = $client->autoLogin();

// Get all Articles
$articles = $client->getArticles();

// Get all Relations
$relations = $client->getRelations();

// Get all Mutations
$mutations = $client->getMutations();

// Get all Ledgers
$ledgers = $client->getLedgers();

// Get all Invoices
$invoices = $client->getInvoices();

// Get all Balances
$balances = $client->getBalances();