You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
The Gii code generation tool
|
|
|
|
============================
|
|
|
|
|
|
|
|
Yii2 includes a handy tool that allows rapid prototyping by generating commonly used code snippets
|
|
|
|
as well as complete CRUD controllers.
|
|
|
|
|
|
|
|
Installing and configuring
|
|
|
|
--------------------------
|
|
|
|
|
|
|
|
How to use it
|
|
|
|
-------------
|
|
|
|
|
|
|
|
Add these lines to your config file:
|
|
|
|
|
|
|
|
```php
|
|
|
|
'modules' => [
|
|
|
|
'gii' => ['yii\gii\Module']
|
|
|
|
]
|
|
|
|
```
|
|
|
|
|
|
|
|
Creating your own templates
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
TDB
|
|
|
|
|