endroid / flusher-bundle
Endroid Flusher Bundle
Installs: 1 916
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Type:symfony-bundle
Requires
- php: >=7.1
- endroid/flusher: ^2.0
Requires (Dev)
- phpunit/phpunit: ^5.7|^6.0
This package is auto-updated.
Last update: 2020-03-27 21:22:19 UTC
README
By endroid
This bundle integrates the endroid/flusher library in Symfony. It provides the following features.
- 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.
$ composer require endroid/flusher-bundle
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.
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.
License
This source code is subject to the MIT license bundled in the file LICENSE.