承接 jaspernbrouwer/doctrine-dbal-bridge 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jaspernbrouwer/doctrine-dbal-bridge

最新稳定版本:v2.0.0

Composer 安装命令:

composer require jaspernbrouwer/doctrine-dbal-bridge

包简介

Bridge for using SimpleBus with Doctrine DBAL

README 文档

README

A bridge for using SimpleBus with Doctrine DBAL.

By Jasper N. Brouwer

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

  1. Set up a command bus:
$commandBus = ...;
  1. Set up a Doctrine DBAL connection:
$connection = ...;
  1. Set up the WrapsMessageHandlingInTransaction middleware:
use JNB\DoctrineDBALBridge\MessageBus\WrapsMessageHandlingInTransaction;

$transactionalMiddleware = new WrapsMessageHandlingInTransaction($connection);
  1. Add the middleware to the command bus:
$commandBus->addMiddleware($transactionalMiddleware);

统计信息

  • 总下载量: 63
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-23