1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 21:02:07 +02:00
tldr/pages/common/php-yii.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

16 lines
444 B
Markdown

# 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}}`