vitexsoftware/pohoda-connector

Stormware's Pohoda mServer client.

0.4 2023-05-18 18:17 UTC

This package is auto-updated.

Last update: 2024-02-27 09:04:21 UTC


README

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