Delegator for Zend InputFilterPluginManager
This package provides a delegator for the InputFilterPluginManager which configures the PluginManager to use the service configuration from input_filters
from your config.
The package is intended to be used with Zend Expressive Skeleton or any other Zend Expressive application.
The easiest way to install this package is through composer:
$ composer require tobias/zend-expressive-inputfilter-delegator
In the general case where you are only using a single connection, it's enough to define the delegator factory for the InputFilterManager:
return [
'dependencies' => [
'delegators' => [
'InputFilterManager' => [
\Tobias\Expressive\InputFilter\InputFilterManagerDelegatorFactory::class,
],
],
],
];
If you're using the Expressive Config Manager you can easily add the ConfigProvider class.
$configManager = new ConfigManager(
[
\Tobias\Expressive\InputFilter\ConfigProvider::class,
]
);