mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 07:58:33 +00:00
Update cheatsheets
This commit is contained in:
21
php-yii
Normal file
21
php-yii
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user