PHPackages                             thesis/postgres - 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. [Database &amp; ORM](/categories/database)
4. /
5. thesis/postgres

AbandonedArchivedLibrary[Database &amp; ORM](/categories/database)

thesis/postgres
===============

PostgreSQL build of Thesis based on PDO

032[1 PRs](https://github.com/thesisphp/postgres/pulls)PHP

Since Jul 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/thesisphp/postgres)[ Packagist](https://packagist.org/packages/thesis/postgres)[ RSS](/packages/thesis-postgres/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Thesis
======

[](#thesis)

Basic usage
-----------

[](#basic-usage)

```
use Thesis\Postgres\PostgresPdoDriver;
use Thesis\Postgres\PostgresDsn;
use Thesis\StatementContext\Tsx;

$driver = new PostgresPdoDriver();
$connection = $driver->connect(
    new PostgresDsn(
        host: 'localhost',
        port: 5432,
        user: 'user',
        password: 'password',
        databaseName: 'application',
    )
);

$userId = 'df2d4e8e-d3d7-442b-9415-28aee4d7ab28';

$connection
    ->execute(
        static fn (Tsx $tsx): string => fetch(static fn() => throw new \Exception(sprintf(
        'User with id %s was not found.',
        $userId
    )))
;
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2552865?v=4)[Valentin Udaltsov](/maintainers/vudaltsov)[@vudaltsov](https://github.com/vudaltsov)

---

Top Contributors

[![vudaltsov](https://avatars.githubusercontent.com/u/2552865?v=4)](https://github.com/vudaltsov "vudaltsov (10 commits)")

### Embed Badge

![Health badge](/badges/thesis-postgres/health.svg)

```
[![Health](https://phpackages.com/badges/thesis-postgres/health.svg)](https://phpackages.com/packages/thesis-postgres)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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