Download the PHP package nowo-tech/doctrine-deadlock-retry-bundle without Composer
On this page you can find all versions of the php package nowo-tech/doctrine-deadlock-retry-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nowo-tech/doctrine-deadlock-retry-bundle
More information about nowo-tech/doctrine-deadlock-retry-bundle
Files in nowo-tech/doctrine-deadlock-retry-bundle
Download nowo-tech/doctrine-deadlock-retry-bundle
More information about nowo-tech/doctrine-deadlock-retry-bundle
Files in nowo-tech/doctrine-deadlock-retry-bundle
Vendor nowo-tech
Package doctrine-deadlock-retry-bundle
Short Description Symfony bundle that retries Doctrine flush and custom operations on DBAL deadlock exceptions with configurable profiles.
License MIT
Homepage https://github.com/nowo-tech/DoctrineDeadlockRetryBundle
Package doctrine-deadlock-retry-bundle
Short Description Symfony bundle that retries Doctrine flush and custom operations on DBAL deadlock exceptions with configurable profiles.
License MIT
Homepage https://github.com/nowo-tech/DoctrineDeadlockRetryBundle
Please rate this library. Is it a good library?
Informations about the package doctrine-deadlock-retry-bundle
Doctrine Deadlock Retry Bundle
⭐ Found this useful? Install from Packagist and give it a star on GitHub.
Symfony bundle that retries EntityManager::flush() and custom operations when Doctrine DBAL raises a deadlock (SQLSTATE[40001], MySQL error 1213).
This bundle is FrankenPHP worker mode friendly.
Features
- DeadlockRetryService:
flush(?string $profile)andretry(callable $operation, ?string $profile). - Named profiles: configure
max_retries,sleep_ms, androllback_on_deadlockper use case. - Default profile: used when no profile name is passed.
- Detects
DeadlockExceptionand related driver errors in the exception chain.
Version policy
The Composer package is nowo-tech/doctrine-deadlock-retry-bundle. Source and issues: nowo-tech/DoctrineDeadlockRetryBundle.
We follow Semantic Versioning. See Security policy.
Quick example
Requirements
- PHP >= 8.2, < 8.6 (Symfony 8.x requires PHP 8.4+)
- Symfony 6.0+ | 7.4+ | 8.0+ | 8.1+ (minimum tested minors: 7.4, 8.0, 8.1)
- Doctrine ORM and DoctrineBundle
Documentation
- Installation
- Configuration
- Usage
- Contributing
- Code of Conduct
- Changelog
- Upgrading
- Release
- Security
- Engram
- Spec-driven development
- GitHub Spec Kit
Additional documentation
- Demo (Symfony 7 & 8) — run
make -C demo up-symfony8from the bundle root. - Demo with FrankenPHP —
FRANKENPHP_MODE(classic|worker, default worker);make demo-smoke(REQ-TEST-011). - GitHub Actions CI requirements
Tests and coverage
- Tests: PHPUnit (PHP)
- PHP: 100%
License
MIT. See LICENSE.
All versions of doctrine-deadlock-retry-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2 <8.6
doctrine/dbal Version ^3.8.2 || ^4.0
doctrine/doctrine-bundle Version ^2.8 || ^3.0
doctrine/orm Version ^2.13 || ^3.0
symfony/config Version ^6.4 || ^7.0 || ^8.0 || ^8.1
symfony/dependency-injection Version ^6.4 || ^7.0 || ^8.0 || ^8.1
symfony/http-kernel Version ^6.4 || ^7.0 || ^8.0 || ^8.1
doctrine/dbal Version ^3.8.2 || ^4.0
doctrine/doctrine-bundle Version ^2.8 || ^3.0
doctrine/orm Version ^2.13 || ^3.0
symfony/config Version ^6.4 || ^7.0 || ^8.0 || ^8.1
symfony/dependency-injection Version ^6.4 || ^7.0 || ^8.0 || ^8.1
symfony/http-kernel Version ^6.4 || ^7.0 || ^8.0 || ^8.1
The package nowo-tech/doctrine-deadlock-retry-bundle contains the following files
Loading the files please wait ...