bref/dev-server
最新稳定版本:1.0.0
Composer 安装命令:
composer require bref/dev-server
包简介
Local development server for serverless web apps
关键字:
README 文档
README
Development web server for serverless-native PHP web apps.
Why?
This web server is meant for HTTP applications implemented without framework, using API Gateway as the router and PSR-15 controllers.
Installation
composer require --dev bref/dev-server
Usage
Run the webserver with:
vendor/bin/bref-dev-server
The application will be available at http://localhost:8000/.
Routes will be parsed from serverless.yml in the current directory.
Assets
By default, static assets are served from the current directory.
To customize that, use the --assets option. For example to serve static files from the public/ directory:
vendor/bin/bref-dev-server --assets=public
统计信息
- 总下载量: 12.16k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 36
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-26