Download the PHP package marein/symfony-lock-doctrine-migrations-bundle without Composer
On this page you can find all versions of the php package marein/symfony-lock-doctrine-migrations-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marein/symfony-lock-doctrine-migrations-bundle
More information about marein/symfony-lock-doctrine-migrations-bundle
Files in marein/symfony-lock-doctrine-migrations-bundle
Package symfony-lock-doctrine-migrations-bundle
Short Description Perform concurrent doctrine migrations safely.
License MIT
Informations about the package symfony-lock-doctrine-migrations-bundle
symfony-lock-doctrine-migrations-bundle
Table of contents
- Overview
- How it works?
- Installation and requirements
- Configuration
- Public api
Overview
Perform concurrent doctrine migrations safely.
How it works?
It hooks into Symfony's event system and listens for the doctrine:migrations:migrate command to be executed.
The command must be executed with the --conn option so that this bundle knows which connection to use.
If the platform of the selected connection is supported, the operation is performed inside a distributed lock.
Supported platforms:
- MySQL
- PostgreSQL
Installation and requirements
Add the bundle to your project.
Add the bundle in the kernel. This can be different for your setup.
Configuration
This is an example of all configurations in yaml format.
Public api
Only the bundle configuration is part of the public api. Everything else can change and is not considered a breaking change. Please don't use classes or services directly.
All versions of symfony-lock-doctrine-migrations-bundle with dependencies
doctrine/dbal Version ^2.12 || ^3.0 || ^4.0
doctrine/doctrine-bundle Version ^2.2 || ^3.0
doctrine/doctrine-migrations-bundle Version ^3.0 || ^4.0
symfony/config Version ^5.2 || ^6.0 || ^7.0 || ^8.0
symfony/console Version ^5.2 || ^6.0 || ^7.0 || ^8.0
symfony/dependency-injection Version ^5.2 || ^6.0 || ^7.0 || ^8.0
symfony/http-foundation Version ^5.2 || ^6.0 || ^7.0 || ^8.0
symfony/http-kernel Version ^5.2 || ^6.0 || ^7.0 || ^8.0