Download the PHP package pceuropa/yii2-forms without Composer
On this page you can find all versions of the php package pceuropa/yii2-forms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pceuropa/yii2-forms
More information about pceuropa/yii2-forms
Files in pceuropa/yii2-forms
Package yii2-forms
Short Description Form builder or code generator for Yii2. List GridView of forms. Saving form data in a databases.
License MIT
Homepage https://pceuropa.net/yii2-extensions/yii2-forms
Informations about the package yii2-forms
FormBuilder module for Yii2
Features
-
Generate forms, surveys, polls, questionnaires (class FormBuilder)
- Drag and drop - Sorting, editing, and deleting items
- CRUD operations by AJAX
- Built-in RBAC component
-
Form render widget (class Form)
- Validation forms (dynamic model)
- Storage data submited from form in databases
- List of forms (GridView)
- Create database tables after create form
- Delete database tables after delete form
- Add table column after add field to form
- Rename table column after change the name of field
- Drop table column after delete field in form
Installation Form Builder
Configuration Form Builder
Make sure that you have properly configured db
application component in config file and run the following command:
Add the following code in your configuration file:
Usage
URLs for the translating tool:
Full example configuration Form Builder
Form renderer widget
or
Configure RBAC Component
To use generator console, add fallowing code to console config (console.php)
To use RBAC dont forget add fallowing code to app config (web.php or main.php)
Create rbac tables in the database
Create RBAC rules and roles. Asssign role user to all users. You can add assign role acction in SignupController
Tests
Php tests run
or
JavaScript tests run On begining install depencies:
run test