PHPackages                             spojenet/pohoda-sql - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. spojenet/pohoda-sql

ActiveLibrary

spojenet/pohoda-sql
===================

Management Library for PohodaSQL

v0.2.1(8mo ago)9209↓100%2[3 PRs](https://github.com/Spoje-NET/PohodaSQL/pulls)MITPHPCI passing

Since Oct 3Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/Spoje-NET/PohodaSQL)[ Packagist](https://packagist.org/packages/spojenet/pohoda-sql)[ RSS](/packages/spojenet-pohoda-sql/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (6)Versions (7)Used By (0)

PohodaSQL
=========

[](#pohodasql)

[![PohodaSQL](pohodaSQL.svg?raw=true)](pohodaSQL.svg?raw=true)

[![PHP Version](https://camo.githubusercontent.com/4c62148864d567c4ee794ffab09c1dd4a3f45e41064bbb016440beddaae71a4d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e322d3838393242462e737667)](https://php.net/)[![CodeRabbit Pull Request Reviews](https://camo.githubusercontent.com/c79290661a99892b135d3c02414938445d802367101465c40f6bd397fd6a936d/68747470733a2f2f696d672e736869656c64732e696f2f636f64657261626269742f7072732f6769746875622f53706f6a652d4e45542f506f686f646153514c3f75746d5f736f757263653d6f73732675746d5f6d656469756d3d6769746875622675746d5f63616d706169676e3d53706f6a652d4e4554253246506f686f646153514c266c6162656c436f6c6f723d31373137313726636f6c6f723d464635373041266c696e6b3d6874747073253341253246253246636f64657261626269742e6169266c6162656c3d436f64655261626269742b52657669657773)](https://camo.githubusercontent.com/c79290661a99892b135d3c02414938445d802367101465c40f6bd397fd6a936d/68747470733a2f2f696d672e736869656c64732e696f2f636f64657261626269742f7072732f6769746875622f53706f6a652d4e45542f506f686f646153514c3f75746d5f736f757263653d6f73732675746d5f6d656469756d3d6769746875622675746d5f63616d706169676e3d53706f6a652d4e4554253246506f686f646153514c266c6162656c436f6c6f723d31373137313726636f6c6f723d464635373041266c696e6b3d6874747073253341253246253246636f64657261626269742e6169266c6162656c3d436f64655261626269742b52657669657773)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)[![Composer](https://camo.githubusercontent.com/d152a9b4679e77fa3deadbb5d7b05c5541d222ddd09fdfc1da626adb8f8a3196/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6d706f7365722d737570706f727465642d3838353633302e737667)](https://getcomposer.org/)[![Debian Package](https://camo.githubusercontent.com/220592ec112a96fcff33f91eeb77a5582dab5ac5ae32fd5747e1535cddab345f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64656269616e2d7061636b6167652d7265642e737667)](http://repo.vitexsoftware.com/pool/main/p/php-spojenet-pohoda-sql/)

This is a PHP Library for direct access to Pohoda SQL database tables

Use at your own risk!

Requirements
------------

[](#requirements)

- PHP 7.2+
- php-sqlsrv
- php-ease-fluentpdo

Composer
--------

[](#composer)

```
composer require spojenet/pohoda-sql
```

Configuration
-------------

[](#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
- `DB_SETTINGS` eg. encrypt=false

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  for mor informations

Debian Package
--------------

[](#debian-package)

also package for debian/ubuntu is availble:

```
wget -qO- https://repo.vitexsoftware.com/keyring.gpg | sudo tee /etc/apt/trusted.gpg.d/vitexsoftware.gpg
echo "deb [signed-by=/etc/apt/trusted.gpg.d/vitexsoftware.gpg]  https://repo.vitexsoftware.com  $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo apt update

sudo apt install php-spojenet-pohoda-sql
```

###  Health Score

39

—

LowBetter than 87% of packages

Maintenance79

Regular maintenance activity

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 51.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~660 days

Total

2

Last Release

240d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c37ffb57ec14670613115c03edd4258168c3eb2353d0990817bf90cf94990311?d=identicon)[Spoje.Net](/maintainers/Spoje.Net)

---

Top Contributors

[![Vitexus](https://avatars.githubusercontent.com/u/2621130?v=4)](https://github.com/Vitexus "Vitexus (20 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (18 commits)")[![Aloushek](https://avatars.githubusercontent.com/u/9028853?v=4)](https://github.com/Aloushek "Aloushek (1 commits)")

---

Tags

fintechmssqlphp-librarypohoda

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/spojenet-pohoda-sql/health.svg)

```
[![Health](https://phpackages.com/badges/spojenet-pohoda-sql/health.svg)](https://phpackages.com/packages/spojenet-pohoda-sql)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
