kigkonsult / sie4sdk
PHP Sie4 SDK and Sie5 conversion package
Requires
- php: >=7.0
- ext-iconv: *
- ext-json: *
- kigkonsult/asit: >=1.8
- kigkonsult/sie5sdk: >=1.0.6
Requires (Dev)
- fzaninotto/faker: >=v1.9.2
- phpcompatibility/php-compatibility: >=9.3.5
- phpstan/phpstan: >=0.9.3
- phpunit/phpunit: >=6.1.0
- squizlabs/php_codesniffer: >=3.5.5
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