spojenet/pohoda-sql

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Management Library for PohodaSQL

dev-master 2020-05-22 18:16 UTC

This package is auto-updated.

Last update: 2021-05-29 01:26:35 UTC


README

PHP Librabry for direct access to Pohoda SQL database tables

Use at your own risk!

Configuration

Please set up this constants or environment variables:

  • DB_TYPE We use sqlsrv
  • DB_HOST IP or Hostname machine with SQL Server
  • DB_PORT default is 1433
  • DB_DATABASE something like StwPh_01234567_2019
  • DB_USERNAME sqlserver login
  • DB_PASSWORD sqlserver pass

You can also int object like this:

$addr = new Adresar(234,['database'=>'StwPh_01234567_2020']); //Load record by ID from overriden Database
$addr = new Adresar(['ICO'=>'69438676']); //Load record by ICO

See https://github.com/VitexSoftware/php-ease-fluentpdo for mor informations