fastybird / json-api
{JSON:API} api 工具,具有数据注入功能
v0.19.0
2024-08-22 08:53 UTC
Requires
- php: >=8.1.0
- ext-json: *
- cweagans/composer-patches: ^1.7
- doctrine/orm: ^2.6
- fig/http-message-util: ^1.1
- ipub/json-api-document: ^0.2
- neomerx/json-api: ^4.0
- nette/bootstrap: ^3.2
- nette/di: ^3.1
- nette/utils: ^3.2||^4.0
- phpdocumentor/reflection-docblock: ^5.3
- psr/http-factory: ^1.1
- psr/http-message: ^1.1
- psr/http-server-middleware: ^1.0
- psr/log: ^1.1|^3.0
- ramsey/uuid: ^4.7
Requires (Dev)
- brianium/paratest: ^7.3
- guzzlehttp/psr7: ^2.6
- infection/infection: ^0.27
- ipub/doctrine-crud: ^5.0
- orisai/coding-standard: ^3.2
- pds/skeleton: ^1.0
- php-parallel-lint/php-parallel-lint: ^1.3
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^1.10
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-doctrine: ^1.3
- phpstan/phpstan-nette: ^1.2
- phpstan/phpstan-phpunit: ^1.1
- phpstan/phpstan-strict-rules: ^1.5
- phpunit/phpunit: ^10.0
- staabm/annotate-pull-request-from-checkstyle: ^1.8
- tracy/tracy: ^2.9
Suggests
- ipub/doctrine-crud: Allows more advanced entity configuration with annotation props for required|writable props
This package is auto-updated.
Last update: 2024-09-22 08:58:06 UTC
README
什么是 FastyBird {JSON:API} 库?
这是一个 Nette 框架 扩展,实现了 {JSON:API} 注入器和模式工厂。
特性
- PSR-7 中间件,用于将异常转换为 {JSON:API} v1.1 响应
- Doctrine2 从 {JSON:API} 文档进行数据注入
- {JSON:API} 模式,用于构建有效响应
安装
安装 fastybird/json-api 的最佳方式是使用 Composer
composer require fastybird/json-api
文档
在 文档 中了解如何使用 {JSON:API} 数据注入器和文档构建器。
主页 https://www.fastybird.com 和仓库 https://github.com/FastyBird/json-api.