Download the PHP package mvccore/ext-modelform without Composer
On this page you can find all versions of the php package mvccore/ext-modelform. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package ext-modelform
MvcCore - Extension - ModelForm
MvcCore form extension to build forms by decorated model classes.
Installation
Features
- Simply creating form instance with fields by decorated model properties
without extending\MvcCore\Ext\Form
or \MvcCore\Ext\ModelForms\Form` class. - Possibility to get model properties metadata by
\MvcCore\Ext\ModelForms\IModel::GetFormsMetaData()
. - Model properties decoration by PHP 8+ attributes or by PHP Docs tags in older PHP versions.
- Possibility to decorate model property by any MvcCore form field with field options.
- Possibility to decorate options loader for fields with options like Select or other...
- Possibility to decorate model property by any MvcCore form validator(s) or by multiple validators with it's options.
- Possibility to decorate local validation method for any field, validation method
could be placed in form, controller or model as instance or static method, method context is configurable. - Possibility to extend model form or it's protected methods to customize fields initiatization.
Basic Example
PHP >= 8 With Attributes Decorations
Bootstrap.php
Model Class
Controller Class
PHP < 8 With PHP Docs Decorations
Model Class
All versions of ext-modelform with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
mvccore/mvccore Version ^5.3
mvccore/ext-model-db Version ^5.3
mvccore/ext-form Version ^5.3
mvccore/mvccore Version ^5.3
mvccore/ext-model-db Version ^5.3
mvccore/ext-form Version ^5.3
The package mvccore/ext-modelform contains the following files
Loading the files please wait ....