A free and open-source book on ZF3 for beginners


7.4. Installing ZF3 form components

To use forms in an MVC web application, you need to install at least the zendframework/zend-mvc-form Composer metapackage:

php composer.phar require zendframework/zend-mvc-form

When you install this metapackage, there will be installed all necessary components implementing forms in ZF3: Zend\Form, Zend\InputFilter, Zend\Filter, Zend\Validator, and probably others.


Top