Download the PHP package kigkonsult/sie5sdk without Composer
On this page you can find all versions of the php package kigkonsult/sie5sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kigkonsult/sie5sdk
More information about kigkonsult/sie5sdk
Files in kigkonsult/sie5sdk
Package sie5sdk
Short Description Sie5 SDK, based on Sie5 XSD schema
License LGPL-3.0-or-later
Informations about the package sie5sdk
Sie5Sdk
- the PHP SDK for the Sie5 export/import formats
- manages accounting, book-keeping, ledger, asset, inventory data etc
- based on the Sie5 XSD schema
and provide
- XSD
- with getters and validating setters
- ability to validate comparable to XSD
- minor other logic
- parse of the XML rootelements Sie/SieEntry into dto(s)
- src/XMLParse/Sie5Parser::parse
- write of Sie/SieEntry dto(s) to XML string / DomNode
- src/XMLWrite/Sie5Writer:write
Usage, parse XML
Sie5Sdk uses XMLReader parsing input and accepts Sie and SieEntry root elements.
To parse an export Sie XML file :
To parse an import SieEntry XML file :
The XML parser save the XMLreader node properties (baseURI, localName, name, namespaceURI, prefix) for each XML (Dto) element as 'XMLattributes' as well as XML attributes (xmlns, xmlns:*, schemaLocation), if set.
Usage, build up structure
To build up import SieEntry structure:
XML attributes
You may also set XMLattribute(s) (explicitly, NOT required if rewriting a parsed sie xml file) using
To set (ex. prefix) and 'propagate' down in hierarchy:
You can remove (single 'element') XMLattribute using
To unset (ex. prefix) and 'propagate' down in hierarchy:
To fetch and iterate over XMLAttributes
Usage, output as XML
Sie5Sdk uses XMLWriter creating output.
The XMLwriter adds for (each) element
- element name with prefix, is exists
- XMLattribute xmlns, xmlns:* and schemaLocation, if exists.
Usage, output as DomNode
Info
Sie5Sdk require PHP7+.
For class structure, architecture and usage, please examine
- the XSD
- docs/info.txt
- docs/Sie5Sdk.png dto class design
- test/DtoLoader directory
You may find convenient constants in
- src/Sie5Interface
- src/Sie5XMLAttributesInterface
Sie5Sdk uses
- kigkonsult\DsigSdk
- for the Signature part
- kigkonsult\loggerdepot and Psr\Log
- for (parser-)logging
Sie5Sdk support attribute extensions in the elements
- Account, Company, CustomerInvoice, Customer, FileInfo, FixedAsset, GeneralObject, JournalEntry, LedgerEntry, Supplier
Installation
Composer, from the Command Line:
Composer, in your composer.json
:
Version 1.4 supports PHP 8.0, 1.2 7.4, 1.1 7.0.
Acquire access
Otherwise , download and acquire..
Sponsorship
Donation using paypal.me/kigkonsult are appreciated. For invoice, please e-mail.
Support
For support, please use Github/issues.
For Sie XSD issues, go to Sie homepage.
License
This project is licensed under the LGPLv3 License
All versions of sie5sdk with dependencies
ext-dom Version *
ext-libxml Version *
ext-simplexml Version *
ext-xmlreader Version *
ext-xmlwriter Version *
kigkonsult/loggerdepot Version ^v1.04
kigkonsult/dsigsdk Version ^v1.4
psr/log Version ^1.1.0