2017 © Pedro PelĂĄez
 

library transaction-manager

A simple transaction manager

image

remi-san/transaction-manager

A simple transaction manager

  • Thursday, July 12, 2018
  • by remi-san
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3,699 Installations
  • PHP
  • 3 Dependents
  • 3 Suggesters
  • 1 Forks
  • 0 Open issues
  • 10 Versions
  • 55 % Grown

The README.md

Transaction Manager

Author Build Status Quality Score Software License Packagist Version Coverage Status SensioLabsInsight, (*1)

A simple transaction manager with a naive implementation., (*2)

It provides a common interface to manage transactions., (*3)

If you want to make a class transactional, implement the Transactional interface., (*4)

Transaction Manager

Two TransactionManager implementations are provided allowing you to manage multiple Transactional classes in the same logic transaction., (*5)

  • SimpleTransactionManager is a naive implementation preventing from beginning a transaction more than once.
  • MultipleTransactionManager allows you to begin the transaction more than once but only commits if commit is called the same number of times as beginTransaction.

Implementations

Some Transactional implementations are provided:, (*6)

  • TransactionalQueuePublisher to publish in an AMQP queue with Burrow in a transaction
  • DoctrineDbalTransactionManager to deal with Doctrine DBAL transactions
  • DoctrineEntityManager to deal with Doctrine ORM transactions
  • TransactionalEmitter to emit Events with the PHP League lib in a transaction
  • TransactionalCommandBus to handle Commands with the PHP League lib in a transaction

The Versions