Giter VIP home page Giter VIP logo

laravel_eboekhouden's Introduction

Laravel eboekhouden

Package to provide eboekhouden as service in laravel

Requirements

  • PHP 7.4
  • PHP soap extension

Install

$ composer require daanvanberkel/laravel_eboekhouden

Laravel will automatically detect the service provider

Using

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();
    }
}

Config

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.

Changelog

v2.0.2 - 2020-01-14

  • Solved bug where mutation lines where not properly parsed
  • Added test for getting mutations

v2.0.1 - 2020-01-13

  • Changed namespace of EboekhoudenLedger model
  • Added test for getting ledgers

v2.0.0 - 2020-01-11

  • MIT license added
  • Upgraded to daanvanberkel/laravel_accounting ^v2.1.3
  • Use objects instead of arrays
  • Added some tests

v1.0.4 - 2020-01-10

  • Handle optional fields better

v1.0.2 - 2020-01-10

  • Changed wsdl_url to wsdl in config/eboekhouden.php

v1.0.1 - 2020-01-07

v1.0.0 - 2020-01-07

  • Initial version

laravel_eboekhouden's People

Contributors

universenl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.