LinuxCommandLibrary

php-yii

php-yii

TLDR

Display a list of all available commands

$ php yii [help]
copy


Start PHP's built-in web server for the current Yii application
$ php yii [serve]
copy


Generate a controller, views and related files for the CRUD actions on the specified model class
$ php yii [gii/crud] --modelClass=[ModelName] --controllerClass=[ControllerName]
copy

Copied to clipboard