byjg/restserver
最新稳定版本:6.0.0
Composer 安装命令:
composer require byjg/restserver
包简介
Create RESTFull services with different and customizable output handlers (JSON, XML, Html, etc.). Auto-Generate routes from swagger.json definition.
README 文档
README
Create RESTFull services with different and customizable output handlers (JSON, XML, Html, etc.). Auto-Generate routes from swagger.json definition.
Documentation
Setup:
Creating and customizing routes:
- Defining Route Names
- Create Routes using Closures
- Create Routes Manually
- Create Routes using PHP Attributes
- Auto-Generate from an OpenApi definition (hot)
Processing the request and output the response:
Advanced:
Additional topics:
- Mock Testing
- Route Metadata
- Content Negotiation
- Custom HTTP Status Codes
- CSV Endpoint Example
- PSR-7 Adapters
Installation
composer require "byjg/restserver"
Dependencies
flowchart TD
byjg/restserver --> byjg/serializer
byjg/restserver --> byjg/singleton-pattern
byjg/restserver --> byjg/cache-engine
byjg/restserver --> byjg/webrequest
byjg/restserver --> byjg/jwt-wrapper
Loading
统计信息
- 总下载量: 48.08k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 7
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-31