intvent/eboekhouden-php

一个针对 E-boekhouden.nl 的 PHP 框架无关包

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

This package is auto-updated.

Last update: 2024-08-29 10:18:28 UTC


README

Tests Psalm

使用这个框架无关的包,您可以轻松地将 E-boekhouden.nl 集成到任何 PHP 项目中。
如果您想使用此包并支持未来的开发,请考虑赞助

查看原始的 SOAP 文档

安装

您可以通过 composer 安装此包

composer require intvent/eboekhouden-php

用法(示例)

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

测试与构建

要本地测试此包,请运行

composer test

在发布任何更改之前,您可以运行代码格式化和 PSALM。

composer format
composer psalm

变更日志

请参阅 CHANGELOG 了解最近更改的更多信息。

贡献

请参阅 CONTRIBUTING 了解详细信息。

安全

如果您发现任何与安全相关的问题,请通过电子邮件 info@intvent.nl 而不是使用问题跟踪器。

鸣谢

许可

MIT 许可证 (MIT)。请参阅 许可文件 了解更多信息。