endroid/flusher-bundle

Endroid Flusher Bundle

Installs: 1 830

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

2.0.1 2017-12-08 21:13 UTC

README

By endroid

Latest Stable Version Build Status Total Downloads Monthly Downloads License

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.