Download the PHP package flaviovs/yii2-form without Composer
On this page you can find all versions of the php package flaviovs/yii2-form. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download flaviovs/yii2-form
More information about flaviovs/yii2-form
Files in flaviovs/yii2-form
Download flaviovs/yii2-form
More information about flaviovs/yii2-form
Files in flaviovs/yii2-form
Vendor flaviovs
Package yii2-form
Short Description Composite models (a.k.a forms) for Yii2
License MIT
Package yii2-form
Short Description Composite models (a.k.a forms) for Yii2
License MIT
Please rate this library. Is it a good library?
Informations about the package yii2-form
Composite models (a.k.a forms) for Yii2
The use case
You need form input for separate model objects in your application.
Installation
How to
-
Create your form model. Add composing models as normal attributes:
-
Add the
modelAttributes()
function, which indicates which form attributes contain models to be loaded on submission: -
Add validation rules for the models:
-
Add input controls to your views as you normally would. Just remember to reference model attributes of the form, instead of the form model itself.
- Process the form as you normally do:
Support
All versions of yii2-form with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package flaviovs/yii2-form contains the following files
Loading the files please wait ....