This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Description
When you run zendframework/zend-inputfilter as a stand alone library you get Class Zend\ServiceManager\AbstractPluginManager not found with the following code
$filter = new \Zend\InputFilter\InputFilter();
$input = new \Zend\InputFilter\Input('test');
$filter->add($input);
$filter->setData([]);
$filter->isValid();
$filter->getMessages();
This is due to the fact of \Zend\InputFilter\Input line 500, where the plugin chain is used. Which in turn uses the ValidatorPluginManager, which extends the Zend\ServiceManager\AbstractPluginManager. This class is not loaded because it is not part of the dependency.
To fix this issue zendframework/zend-servicemanager needs to be a dependency, and not dev only.