1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 05:42:09 +02:00
tldr/pages/common/php-yii.md
Vitor Henrique 46a054215a
pages*: make help and version commands comply with the style guide (#12107)
* pages*: use generic word for help

* git: add newline to the end

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* pages*: make help and version commands comply with the style guide

* java: fix Java name

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-01-30 12:55:24 +08:00

416 B

php yii

Yii Framework's command-line interface. More information: https://yiiframework.com.

  • 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}}

  • Display help:

php yii {{help}}