universenl/laravel_account_api is a Laravel package for eboekhouden provider for laravel.
It currently has 0 GitHub stars and 5 downloads on Packagist.
Install it with composer require universenl/laravel_account_api.
Discover more Laravel packages by universenl
or browse all Laravel packages to compare alternatives.
Last updated
Package to provide eboekhouden as service in laravel
$ composer require daanvanberkel/laravel_eboekhouden
Laravel will automatically detect the service provider
This is an example to use the provider in a laravel controller:
<?php
namespace App\Http\Controllers;
use Dvb\Accounting\AccountingProvider;
class ExampleController
{
/**
* Return a list with all the relation in eboekhouden
*
* @param AccountingProvider $accountingProvider
* @return array|\Dvb\Accounting\AccountingRelation[]
*/
public function index(AccountingProvider $accountingProvider) {
return $accountingProvider->getRelations();
}
}
To edit the configuration, run the following command in a terminal window. The eboekhouden.php configuration file will be added to the config folder
$ php artisan vendor:publish --provider=Dvb\Eboekhouden\ServiceProvider
Now you can edit config/eboekhouden.php to change the configuration.
EboekhoudenLedger modelconfig/eboekhouden.php