Module Creation


as per Yii create module the module contains models , components and views etc…

but I created module "controll" through gii, and its directory contained folders and files are



/controllModule.php is this correct ?



No… The code generation tool gii will create- components, controller, message, models, views and corresponding module.php file.

Check the gii settings in config/main.php of your application.


my gii setting is




		// If removed, Gii defaults to localhost only. Edit carefully to taste.



and its working fine for creating crud in front end

Thanks Nisanth


you only the install the gii so please install the giix-core and easy to generate your code…

please see this…

hope it will be helpful…