yeesoft / yii2-yee-generator
Yee Gii Generators
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 489
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 5
Open Issues: 0
Type:yii2-extension
This package is auto-updated.
Last update: 2022-03-29 00:18:11 UTC
README
Gii CRUD generator for Yee CMS
This generator generates Yee styled controller and views that implement CRUD (Create, Read, Update, Delete) operations for the specified data model.
Installation
Either run
composer require --prefer-dist yeesoft/yii2-yee-generator "~0.1.0"
or add
"yeesoft/yii2-yee-generator": "~0.1.0"
to the require section of your composer.json
file.
Configuration
- In your common config file
'modules' => [ 'gii' => [ 'class' => 'yii\gii\Module', 'allowedIPs' => ['*'], 'generators' => [ 'yee-crud' => [ 'class' => 'yeesoft\generator\crud\Generator', 'templates' => [ 'default' => '@vendor/yeesoft/yii2-yee-generator/crud/yee-admin', ] ], ], ], ],