Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit a8b91a6

Browse files
committed
Documented zend-validator removal in migration guide
1 parent 386d1d5 commit a8b91a6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

doc/book/migration/to-v3-0.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,3 +217,20 @@ $ composer require zendframework/zend-mvc-plugin-prg
217217

218218
`Zend\Mvc\Controller\Plugin\PostRedirectGet` becomes
219219
`Zend\Mvc\Plugin\Prg\PostRedirectGet`. However, it is still mapped as `prg()`.
220+
221+
## Validator integration
222+
223+
In version 2, zend-mvc exposed a `ValidatorManager` service by default, and
224+
provided specifications to zend-modulemanager's `ServiceListener`
225+
to allow modules to provide validator configuration.
226+
227+
This functionality is now removed from zend-mvc. It is now exposed directly by
228+
the [zend-validator](https://zendframework.github.io/zend-validator/) component
229+
itself. To add it, install zend-validator:
230+
231+
```bash
232+
$ composer require zendframework/zend-validator
233+
```
234+
235+
Note: the above assumes you have already installed zend-component-installer, per
236+
the section above on [dependency reduction](#dependency-reduction).

0 commit comments

Comments
 (0)