upscale/http-server-skeleton
Composer 安装命令:
composer create-project upscale/http-server-skeleton
包简介
Skeleton of RESTful API with request parsing, routing, and dependency injection
README 文档
README
This is a skeleton of a bare-bones RESTful API wired with request parsing, routing, and dependency injection capabilities. It defines the directory structure, router configuration, and the entry point that bootstraps the server.
Installation
Install via Composer to a directory of your choice (say, /tmp/rest-api-project):
composer create-project --no-dev upscale/http-server-skeleton /tmp/rest-api-project
Launch the server via the PHP's built-in web server:
php -S 127.0.0.1:8080 /tmp/rest-api-project/server.php
Open http://127.0.0.1:8080 in a browser to confirm the server is running.
Performance
The project is powered by the lightweight HTTP server engine committed to speed and minimalism.
License
Licensed under the Apache License, Version 2.0.
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2016-09-15