koriym/php-server
最新稳定版本:1.0.1
Composer 安装命令:
composer require koriym/php-server
包简介
README 文档
README
Simple PHP built-in server utility for testing
Do you ever need to test using a http server? This utility will fast launch a built-in PHP server just when you need it.
Installation
composer require koriym/php-server
Usage
$server = new PhpServer('127.0.0.1:8080', 'path/to/index.php'); $server->start(); // your http test here $server->stop();
You can also specify a public web directory.
$server = new PhpServer('127.0.0.1:8080', 'path/to/public');
统计信息
- 总下载量: 5.4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-26