vitexsoftware / pohoda-connector
Stormware's Pohoda mServer client.
Fund package maintenance!
Patreon
Requires
- ext-curl: *
- ext-iconv: *
- lightools/xml: v2.0.0
- riesenia/pohoda: >=1.5 || dev-master
- vitexsoftware/ease-core: >=1.9
Requires (Dev)
- phpstan/phpstan: ^0.12.52
- phpunit/phpunit: ^9
README
PHPmServer
client library for Stormware's mPohoda mServer
Features:
- Check connection
- Create/Update/Delete AddressBook record
- Create/Update/Delete Invoice record
Installation
Install using composer:
composer require vitexsoftware/pohoda-connector
Or clone https://github.com/VitexSoftware/PHP-Pohoda-Connector.git
Configuration
Classess check at startup for this constants or environment variables:
- POHODA_ICO - company indentificator
- POHODA_URL - mServer endpoint
- POHODA_USERNAME - Pohoda user's login
- POHODA_PASSWORD - Pohoda user's password
- POHODA_TIMEOUT - Curl timeout
- POHODA_COMPRESS - compress is disabled by default
- POHODA_DEBUG - debug mode is disabled by default
Usage
See usage examples in tests directory
Many thanks to Riešenia, spol. s r.o. for its library https://github.com/riesenia/pohoda
See my other libraries: https://github.com/Spoje-NET/PohodaSQL , https://github.com/Spoje-NET/php-abraflexi