Pohoda mServer PHP library
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.
Cybervitexus c9cd6da04a
Create FUNDING.yml
7 months ago
.github Create FUNDING.yml 7 months ago
src/mServer v0.3 release 9 months ago
tests v0.3 release 9 months ago
.gitignore v0.3 release 9 months ago
.phpunit.result.cache v0.3 release 9 months ago
LICENSE Initial commit 10 months ago
README.md readme update 9 months ago
composer.json v0.3 release 9 months ago
phpmserver.svg v0.3 release 9 months ago
phpunit.xml v0.3 release 9 months ago

README.md

Project Logo

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