Welcome to Gii a magical tool that can write code for you

Start the fun with the following code generators:

CRUD Generator

This generator generates a controller and views that implement CRUD (Create, Read, Update, Delete) operations for the specified data model.

Start »

Model Generator

This generator generates an ActiveRecord class for the specified database table.

Start »

Controller Generator

This generator helps you to quickly generate a new controller class with one or several controller actions and their corresponding views.

Start »

Form Generator

This generator generates a view script file that displays a form to collect input for the specified model class.

Start »

Module Generator

This generator helps you to generate the skeleton code needed by a Yii module.

Start »

Extension Generator

This generator helps you to generate the files needed by a Yii extension.

Start »

Get More Generators