Download the PHP package alex-kalanis/pohoda without Composer
On this page you can find all versions of the php package alex-kalanis/pohoda. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alex-kalanis/pohoda
More information about alex-kalanis/pohoda
Files in alex-kalanis/pohoda
Package pohoda
Short Description Pohoda XML communication
License MIT
Homepage https://github.com/alex-kalanis/pohoda
Informations about the package pohoda
Pohoda XML
Library for manipulation with data, which came as XML from Pohoda mServer.
Pohoda is an accounting software for Czech Republic, Slovakia and probably few other countries.
What is different:
Usage of phpunit, extended tests, phpstan 1.12, deeper type checking
Installation
Add to composer.json:
Example of order imports
Examples of importing each type - more in spec folder.
Exporting stored goods
The creation of request to export goods is realized by creating ListRequest.
The rest of the processing itself is simple - just call next
and got SimpleXMLElement with entity.
Example of deleting stock
When you delete stock you need to create an agenda with empty data and set them delete actionType.
Using ValueTransformer for value update
With interface ValueTransformer you can implement the transformation, which changes all the values. Example for change all values to uppercase:
All versions of pohoda with dependencies
ext-dom Version *
ext-intl Version *
ext-iconv Version *
ext-mbstring Version *
ext-simplexml Version *
ext-xmlreader Version *
ext-xmlwriter Version *
symfony/options-resolver Version ^6.0 || ^7.0