I am reading the docs of Yii, my first opinion is positive but I have this to ask.
The code that I can create with command line for update, insert etc for tables, it is safe to use it at production level at 'authentication protected' pages or are just for test purpose as simiral situation of other framework?
The code generated by the crud command is meant to help accelerate your development process and serve as a good starting point for building CRUD for a table. You can use it at production level.