FilterPluginManager delegator to create filters from config.
Delegator for Zend FilterPluginManager
This package provides a delegator for the FilterPluginManager which configures the PluginManager to use the service configuration from
filters from your config.
The easiest way to install this package is through composer:
$ composer require tobias/zend-expressive-filter-delegator
In the general case where you are only using a single connection, it's enough to define the delegator factory for the FilterManager:
return [ 'dependencies' => [ 'delegators' => [ 'FilterManager' => [ \Tobias\Expressive\Filter\FilterManagerDelegatorFactory::class, ], ], ], ];
If you're using the Expressive Config Manager you can easily add the ConfigProvider class.
$configManager = new ConfigManager( [ \Tobias\Expressive\Filter\ConfigProvider::class, ] );