mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
php yii: add page (#2347)
This commit is contained in:
parent
7e31edbb2e
commit
0c542c130b
1 changed files with 15 additions and 0 deletions
15
pages/common/php-yii.md
Normal file
15
pages/common/php-yii.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# php yii
|
||||
|
||||
> Yii Framework's command line interface.
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue