webvimark / generators
Generators for yii 2
Installs: 44 532
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- webvimark/bootstrap-switch: ^1.0.0
- webvimark/ckeditor: ^1.0.0
- webvimark/components: ^1.0.0
- webvimark/date-range-picker: ^1.0.0
- webvimark/grid-bulk-actions: ^1.0.0
- webvimark/grid-page-size: ^1.0.0
- webvimark/helpers: ^1.0.0
README
Provide:
- usage of relations in views and search
- image, sorter, status columns
- better views
- integrations with other my extensions
- autocompletion
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist webvimark/generators "*"
or add
"webvimark/generators": "*"
to the require section of your composer.json
file.
Configuration
In your config/web.php
$config['bootstrap'][] = 'gii'; $config['modules']['gii'] = [ 'class'=>'yii\gii\Module', 'generators' => [ 'n-model' => 'webvimark\generators\model\Generator', 'n-crud' => 'webvimark\generators\crud\Generator', 'n-module' => 'webvimark\generators\module\Generator', 'n-extension' => 'webvimark\generators\extension\Generator', ] ];
Usage
Go to gii