You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 weeks ago | |
---|---|---|
.github | 3 weeks ago | |
src/mServer | 2 months ago | |
tests | 2 months ago | |
.gitignore | 2 months ago | |
.phpunit.result.cache | 2 months ago | |
LICENSE | 4 months ago | |
README.md | 2 months ago | |
composer.json | 2 months ago | |
phpmserver.svg | 2 months ago | |
phpunit.xml | 2 months ago |
README.md
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