cornernote / yii2-gii
Gii tools and templates for Yii2.
Installs: 507
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- cornernote/yii2-returnurl: ~1.0
- kartik-v/yii2-widget-select2: ~2.0
- schmunk42/yii2-giiant: @stable
- yiisoft/yii2: *
Requires (Dev)
- phpunit/dbunit: ~1.0
- phpunit/phpunit: 4.*
- scrutinizer/ocular: ~1.1
This package is auto-updated.
Last update: 2024-11-19 19:17:20 UTC
README
Gii tools and templates for Yii2.
Installation
The preferred way to install this extension is through composer.
Either run
$ composer require cornernote/yii2-gii "*"
or add
"cornernote/yii2-gii": "*"
to the require
section of your composer.json
file.
Add to your yii config in config/main.php
:
$config['modules']['gii'] = [
'class' => 'yii\gii\Module',
'generators' => [
'giiant-model' => [
'class' => 'schmunk42\giiant\generators\model\Generator',
'templates' => [
'cornernote' => '@vendor/cornernote/yii2-gii/src/giiant/model/cornernote',
],
],
'giiant-crud' => [
'class' => 'schmunk42\giiant\generators\crud\Generator',
'templates' => [
'cornernote' => '@vendor/cornernote/yii2-gii/src/giiant/crud/cornernote',
],
],
],
];