Download the PHP package jaspernbrouwer/doctrine-dbal-bridge without Composer
On this page you can find all versions of the php package jaspernbrouwer/doctrine-dbal-bridge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jaspernbrouwer/doctrine-dbal-bridge
More information about jaspernbrouwer/doctrine-dbal-bridge
Files in jaspernbrouwer/doctrine-dbal-bridge
Package doctrine-dbal-bridge
Short Description Bridge for using SimpleBus with Doctrine DBAL
License MIT
Homepage https://github.com/jaspernbrouwer/DoctrineDBALBridge
Informations about the package doctrine-dbal-bridge
DoctrineDBALBridge
A bridge for using SimpleBus with Doctrine DBAL.
Deprecated
This package is deprecated and has been moved to SimpleBus/DoctrineDBALBridge!
You may still use version 1.x if you're using SimpleBus/CommandBus. But for SimpleBus/MessageBus, please switch to SimpleBus/DoctrineDBALBridge, this package will no longer be maintained.
Versions
Version 1.x is compatible with SimpleBus/CommandBus.
Version 2.x is compatible with SimpleBus/MessageBus.
Installation
Using Composer:
composer require jaspernbrouwer/doctrine-dbal-bridge
Usage
-
Set up a command bus:
-
Set up a Doctrine DBAL connection:
-
Set up the WrapsMessageHandlingInTransaction middleware:
- Add the middleware to the command bus: