add new chinese translations
This commit is contained in:
20
pages.zh/common/php-artisan.md
Normal file
20
pages.zh/common/php-artisan.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# php artisan
|
||||
|
||||
> Laravel的Artisan命令行界面。
|
||||
> 更多信息:<https://laravel.com/docs/artisan>。
|
||||
|
||||
- 启动当前Laravel应用的PHP内置Web服务器:
|
||||
|
||||
`php artisan serve`
|
||||
|
||||
- 启动一个交互式PHP命令行界面:
|
||||
|
||||
`php artisan tinker`
|
||||
|
||||
- 生成一个新的Eloquent模型类,包括迁移、工厂和资源控制器:
|
||||
|
||||
`php artisan make:model {{ModelName}} --all`
|
||||
|
||||
- 显示所有可用命令的列表:
|
||||
|
||||
`php artisan help`
|
Reference in New Issue
Block a user