Skip to content

dualmediaspzoo/savepoint-prevent-crash-bundle

Repository files navigation

Packagist Downloads

Savepoint Prevent (Rollback) Crash Bundle

A simple Symfony + Doctrine bundle to help with MariaDB/MySql-based rollback behavior.

Install

Simply composer require dualmedia/savepoint-prevent-crash-bundle

Then add the bundle to your config/bundles.php file like so

return [
    Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
    // other bundles ...
    DualMedia\DoctrineRetryBundle\DoctrineRetryBundle::class => ['all' => true],
];

Setup

No configuration is required. Middleware is enabled along the bundle.

Why

doctrine/orm#11230

We use it in production for months now with no issues alongside our doctrine-retry-bundle (check it out).

About

A Symfony Bundle to prevent unwanted Doctrine ORM rollback behavior

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages