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