Download the PHP package balrok/yii2-enhanced-gii without Composer
On this page you can find all versions of the php package balrok/yii2-enhanced-gii. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-enhanced-gii
fork of yii2-enhanced-gii
Improvements over the original:
- split out the runtime-dependencies in a separate package (balrok/yii2-enhanced-gii-dependencies)
- show [deleted,updated,created]_[at,by] in detailview
- print a custom label and link for related records if the model implements the
getLinkLabel() : string
method
Yii2 Gii (generator) with Relation
Support
https://www.paypal.me/yohanesc
Endorse me on LinkedIn
https://www.linkedin.com/in/yohanes-candrajaya-b68394102/
Installation
The preferred way to install this extension is through composer.
Either run
or add
add
"kartik-v/yii2-mpdf": "dev-master",
if you want to use pdf exporteradd
"kartik-v/yii2-tree-manager": "dev-master",
if you want to use tree/nested relation table
to the require
section of your composer.json
file.
I separate the mpdf & tree-manager because the package is big & not everyone will use it.
Then you must add this code at your config\main.php.
See gridview settings on http://demos.krajee.com/grid#module
See datecontrol settings on http://demos.krajee.com/datecontrol#module
See treemanager settings on http://demos.krajee.com/tree-manager#module (If you use tree/nested relation table)
Usage :
Go to your gii tools, and notice the new IO Generator for models & CRUD
Features
Model :
- Generate optimistic lock
- Generate Timestamp Behaviors
- Generate Blameable Behavior
- Generate UUID Behavior
- Generate Soft Delete Behavior (NEW! Todo : Generate data filtering for relation data, e.g. not show deleted children of hasMany )
CRUD :
- Generate all CRUD with wildcard (*) of table
- Generate related input output
- Specify your name/label attribute for foreign keys
- Set your column to hidden
- Specify your skipped columns
- Specify your skipped relations
- Set pluralize or not
- PDF Printable view
- Expandable / collapsible row at index grid view for related data
Migration Generator :
- Generate migration from your database structure (based on : https://github.com/deesoft/yii2-gii)
- Option to generate with
safeUp()
andsafeDown()
To Do
- One-page-CRUD template
- Implement generator for Soft Delete Behavior (https://github.com/yii2tech/ar-softdelete)
I'm open for any improvement
Screenshot
Model Generator
CRUD Generator
Index
Grid View
List View
View
Form
Nested / Tree
Migration Generator
Thanks To
- Jiwanndaru ([email protected]) for creating the tradition
- kartik-v (https://github.com/kartik-v) for most of widgets
- schmunk42 (https://github.com/schmunk42) for bootstrap & model base & extension
- mdmunir (https://github.com/mdmunir) for JsBlock & Migration Generator (from https://github.com/deesoft/yii2-gii)
All versions of yii2-enhanced-gii with dependencies
mootensai/yii2-uuid-behavior Version *
mootensai/yii2-relation-trait Version *
mootensai/yii2-jsblock Version *
mootensai/yii2-optimistic-lock-validator Version *
kartik-v/yii2-builder Version *
kartik-v/yii2-grid Version *
kartik-v/yii2-widgets Version *
kartik-v/yii2-export Version *
kartik-v/yii2-tabs-x Version *