client library for Stormware's mPohoda mServer
Features:
- Check connection
- Create/Update/Delete AddressBook record
- Create/Update/Delete Invoice record
Install using composer:
composer require vitexsoftware/pohoda-connector
Or clone https://github.com/VitexSoftware/PHP-Pohoda-Connector.git
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
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