Download the PHP package jttech/sie without Composer
On this page you can find all versions of the php package jttech/sie. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package sie
Short Description Library for export to the Swedish SIE-format. Currently only a subset of the specification is supported, like export to SIE4 (verification/transaction data).
License MIT
Informations about the package sie
SIEPHP
About
SIEPHP is a library that enables export of bookkeeping-data to the Swedish SIE-format. For more information about SIE see http://www.sie.se/
Currently only a subset of the specification is supported, like export to SIE4 (verification/transaction data). In the future a loader-class for SIE could be written as well, and support of more features in the SIE-standard.
It's built around simple data-classes that represents a Company / Verifications / Transactions by the model in the SIE-standard. It also comes with a dumper-class that can dump the data to SIE-format.
Installation
Install the latest stable version with
Upgrade
See UPGRADE.md for how to upgrade.
Usage
examples/simple.php:
And it will generate the following output (in PC8/CP437 encoding):
See examples/TSVtoSIE.php for a custom TSV to SIE converter, loading the same data from a TSV-file.
Development
SIEPHP comes with docker compose to ease development, to build dev docker containers, run:
And once it is built, enter the php 8.2, 8.3 or 8.4 container:
All the tooling is added as composer scripts, start by installing deps:
The you can use the code style (cs) commands to check/fix issues, rector to run the automatic refactors, or phpunit.
Author
Johan Wilfer - johan [at] jttech.se - http://jttech.se
Licence
SIE-PHP is licensed under the MIT License - see the LICENSE file for details
Thanks to
- Mitronic AB (https://www.mitronic.se/) that funded the development of version 1
- Sirvoy (https://sirvoy.com) that funded the development of version 2
Questions?
Send an email to johan [at] jttech.se
All versions of sie with dependencies
ext-iconv Version *