webcoder01/json-api
最新稳定版本:v1.3.0
Composer 安装命令:
composer require webcoder01/json-api
包简介
A framework-agnostic library designed to use HTTP requests with ease in accordance with the JSON:API specification.
关键字:
README 文档
README
Json-Api is a framework-agnostic library that normalizes responses of your API in a standardized way based on the JSON:API specification. Also, it handles pagination and sorting by automatically parsing the request URL. You can use it in a vanilla PHP project or in any PHP framework.
For more information about the JSON:API specification, go to https://jsonapi.org/.
Features
- Generation of success and error responses
- Pagination specified in requests
- Sorting specified in requests
Installation
composer require webcoder01/json-api
Usage
If you want to learn more about request parsing, go to this page.
If you want to know how to generate a response, go to this page.
统计信息
- 总下载量: 47
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-01