Flusher Bundle
By endroid, (*1)
, (*2)
This bundle integrates the endroid/flusher library
in Symfony. It provides the following features., (*3)
- Optional replacement your default entity manager with the FlusherEntityManager
- Configuration of the step size used when determining the optimal batch size
- Injection of the Flusher or the FlusherEntityManager anywhere in your application
Installation
Use Composer to install the library. Symfony Flex
will set up the configuration and routing for you., (*4)
``` bash
$ composer require endroid/flusher-bundle, (*5)
## Configuration
You can configure the bundle to override the default entity manager with the
FlusherEntityManager, disable the flusher inside the entity manager or use
your own step size increment during dynamic batch size detection.
```yaml
endroid_flusher:
override_default_entity_manager: false
disable_entity_manager_flusher: false
step_size: 1.5
Versioning
Version numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatibility
breaking changes will be kept to a minimum but be aware that these can occur.
Lock your dependencies for production and test your code when upgrading., (*6)
License
This source code is subject to the MIT license bundled in the file LICENSE., (*7)