timostamm/microserver
Composer 安装命令:
composer require timostamm/microserver
包简介
README 文档
README
Minimal web server based on Symfony components.
It is very simple to use:
$server = new Server(); $server->addController(SimpleController::class); $server->serve()->send();
For an example how to use composer autoloading, see htdocs/index.php
Features:
- Support for symfony
@Routeannotations - Support for route parameters as controller arguments (scalar types)
- Robust exception handling
- JSON exception formatting (by using JsonServer)
- Controller constructor arguments can be provided by calling addController() with a factory function as second argument
- Nothing else
统计信息
- 总下载量: 46
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-23