mirror of
https://github.com/crazywhalecc/quick-shell.git
synced 2026-03-18 04:44:54 +08:00
add quick php server
This commit is contained in:
parent
c5a16fe3aa
commit
7bec18d525
@ -19,7 +19,7 @@ class ExampleCommand
|
|||||||
return cmd("curl -s http://ip.zhamao.xin");
|
return cmd("curl -s http://ip.zhamao.xin");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[Command('php_server', '在当前目录使用PHP启动一个服务器')]
|
#[Command('php_server', '在当前目录使用PHP启动一个Web服务器')]
|
||||||
#[CommandOption(option_name: 'port', description: '端口号', required: true)]
|
#[CommandOption(option_name: 'port', description: '端口号', required: true)]
|
||||||
public function phpServer(array $params)
|
public function phpServer(array $params)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user