PHPackages                             radynsade/idemflow-dbal - 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. radynsade/idemflow-dbal

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

radynsade/idemflow-dbal
=======================

Doctrine DBAL persistence adapter for IdemFlow Core

v0.1.1(2d ago)00MITPHPPHP ^8.4

Since Aug 15Pushed 2d agoCompare

[ Source](https://github.com/radynsade/idemflow-dbal)[ Packagist](https://packagist.org/packages/radynsade/idemflow-dbal)[ Docs](https://github.com/radynsade/idemflow)[ RSS](/packages/radynsade-idemflow-dbal/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (6)Versions (3)Used By (0)

IdemFlow DBAL
=============

[](#idemflow-dbal)

Doctrine DBAL persistence adapter for IdemFlow Core on PHP 8.4+.

The package currently supports PostgreSQL through a database-backed operation store, a PostgreSQL clock, a transaction boundary and an executable schema migration.

Installation
------------

[](#installation)

```
composer require radynsade/idemflow-dbal
```

Requirements:

- PHP 8.4 or later;
- Doctrine DBAL 4.4;
- PostgreSQL;
- the `READ COMMITTED` transaction isolation level;
- auto-commit enabled and no transaction active when `Executor::execute()` is called.

`REPEATABLE READ`, `SERIALIZABLE` and nested or caller-owned transactions are not supported by the provided `TransactionBoundary`. The repository may need to re-read a row after a concurrent `insert ... on conflict do nothing`; that row must become visible inside the same transaction, which is the behavior provided by PostgreSQL `READ COMMITTED`.

Database schema
---------------

[](#database-schema)

Run the migration during deployment, not during application request handling:

```
