credy/phpbuiltinserver
最新稳定版本:v1.5.0
Composer 安装命令:
composer require credy/phpbuiltinserver
包简介
PhpBuiltinServer extension for Codeception
关键字:
README 文档
README
Codeception extension to start and stop PHP built-in web server for your tests.
| Codeception Branch | PhpBuiltinServer Branch | Status |
|---|---|---|
| Codeception 1.x | 1.1.x | ![]() |
| Codeception 2.0 | 1.2.x | ![]() |
| Codeception 2.1, 2.2 | 1.3.x | ![]() |
| Codeception 2.3 | 1.4.x | ![]() |
| Codeception 3.0, 4.0, 5.0 | master | ![]() |
Minimum requirements
- Codeception 3.0
- PHP 5.6
Installation
- Install Codeception via Composer
- Add
codeception/phpbuiltinserver: "*"to yourcomposer.json - Run
composer install - Include extensions into
codeception.ymlconfiguration:
Configuration
general example
paths:
tests: .
log: _log
data: _data
helpers: _helpers
extensions:
enabled:
- Codeception\Extension\PhpBuiltinServer
config:
Codeception\Extension\PhpBuiltinServer:
hostname: localhost
port: 8000
autostart: true
documentRoot: tests/_data
startDelay: 1
phpIni: /etc/php5/apache2/php.ini
example for projects based on Symfony
paths:
tests: .
log: _log
data: _data
helpers: _helpers
extensions:
enabled:
- Codeception\Extension\PhpBuiltinServer
config:
Codeception\Extension\PhpBuiltinServer:
hostname: localhost
port: 8000
autostart: true
documentRoot: ../web
router: ../web/app.php
directoryIndex: app.php
startDelay: 1
phpIni: /etc/php5/apache2/php.ini
统计信息
- 总下载量: 1.54k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-24




