php yii
Yii Framework's command-line interface. More information: https://yiiframework.com.
-
Display a list of all available commands:
php yii {{help}}
-
Start PHP's built-in web server for the current Yii application:
php yii {{serve}}
-
Generate a controller, views and related files for the CRUD actions on the specified model class:
php yii {{gii/crud}} --modelClass={{ModelName}} --controllerClass={{ControllerName}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.