PHP code example of websmurf / laravel-exact-online
1. Go to this page and download the library: Download websmurf/laravel-exact-online 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/ */
use \Picqer\Financials\Exact\Account;
// List all accounts
$account = new Account($connection);
dd($account->get());
function handle (\Websmurf\LaravelExactOnline\LaravelExactOnline $exactOnline) {
// List all accounts
$exactOnline->Account()->get();
// Get specific account:
$exactOnline->Account()->find('account_ID');
}
// List all accounts
ExactOnline::Account()->get();
// Get specific account:
ExactOnline::Account()->find('account_ID');