Category: Yii 2

Creating Controller & Views in YII2 6

Creating Controller and views using Gii tool in Yii2

CRUD Generator This generator generates a controller and views that implement CRUD (Create, Read, Update, Delete) operations for the specified data model. Click “start” button under CRUD generator to create Controller and Views for corresponding...

Create Model in YII2 using GII tool 18

How to create Model in Yii2 using Gii tool

First of all, you should install yii2 to follow these steps. After installation, you can then access Gii tool through the following URL: http://localhost/path/to/index.php?r=gii [eg: http://localhost/yii2advanced/frontend/web/index.php?r=gii] If you have enabled pretty URLs, you may...