kigkonsult/sie4sdk

PHP Sie4 SDK and Sie5 conversion package

Fund package maintenance!
Other
Other

v1.53 2021-10-07 08:06 UTC

This package is auto-updated.

Last update: 2024-12-05 10:10:14 UTC


README

The PHP Sie4 SDK and Sie5 conversion package

Using the Sie4 /Sie5 formats as prescribed at the Sie formats page.

Sie4Sdk supports convert/transform of accounting data from / to

  • Sie4 : file / string / Dto / array / json / http-service
  • Sie/SieEntry : XML / string / Dto

For usage and info, click here.

Installation

Composer, from the Command Line:

composer require kigkonsult/Sie4Sdk

Composer, in your composer.json:

{
    "require": {
        "kigkonsult/Sie4Sdk": "dev-master"
    }
}

Version 1.8 supports PHP 8, 1.6 7.4, 1.53 7.0.

Composer, acquire access

namespace Kigkonsult\Sie4Sdk;
...
include 'vendor/autoload.php';

Otherwise , download and acquire..

namespace Kigkonsult\Sie4Sdk;
...
include 'pathToSource/sie4sdk/autoload.php';

Run tests

cd pathToSource/Sie4Sdk
vendor/bin/phpunit

Sie4Sdk uses Faker to generate a major variation of Sie4Sdk test data.
Due to Sie4 and Sie5 disparity, tests will have (acceptable) breaks. However, the output is still valid.

Test contributions, Sie4-/Sie-/SieEntry-files, are welcome!

Sponsorship

Donations using buy me a coffee or paypal me are appreciated. For invoice, please e-mail.

Support

For Sie4Sdk support, please use Github/issues.

For Sie4/Sie5 (XSD) issues, go to Sie homepage.

License

This project is licensed under the LGPLv3 License