intvent/eboekhouden-php

A PHP framework agnostic package for E-boekhouden.nl

Fund package maintenance!
petericebear

v2.1.0 2023-07-19 06:40 UTC

This package is auto-updated.

Last update: 2024-04-29 09:29:37 UTC


README

Tests Psalm

With this framework agnostic package you can easily integrate E-boekhouden.nl within any PHP project.
If you wish to use this package and want to support future development. Please consider to sponsor.

View the original SOAP documentation.

Installation

You can install the package via composer:

composer require intvent/eboekhouden-php

Usage (Examples)

require __DIR__ . '/vendor/autoload.php';

$username = 'username';
$sec_code_1 = 'sec_code_1';
$sec_code_2 = 'sec_code_2';

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

// Get a SigleSignOnLink (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();

Testing & building

To testing the package locally run:

composer test

Before publishing any changes you can run code formatting and PSALM.

composer format
composer psalm

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email info@intvent.nl instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.