yii2 gii command line code example Example: yii2 gii command line to create model $ ./yii gii/model --tableName=city --modelClass=City