sourcebroker/t3api
Composer 安装命令:
composer require sourcebroker/t3api
包简介
REST API for your TYPO3 project. Config with annotations, build in filtering, pagination, typolinks, image processing, serialization contexts, responses in Hydra/JSON-LD format.
README 文档
README
Features
- Support for Extbase models with GET, POST, PATCH, PUT, DELETE operations.
- Configuration with classes, properties and methods annotations.
- Build-in filters: boolean, numeric, order, range and text (partial, match against and exact strategies).
- Build-in pagination.
- Support for typolinks.
- Support for image processing.
- Support for file uploads (FAL).
- Configurable routing.
- Responses in Hydra /JSON-LD format.
- Serialization contexts - customizable output depending on routing.
- Easy customizable serialization handlers and subscribers.
- Backend module with Swagger for documentation and real testing.
Documentation
Read the docs at https://docs.typo3.org/p/sourcebroker/t3api/master/en-us/
Take a look and test
After cloning repo you can run ddev restart && ddev composer install and then ddev ci 13 to install local integration test instance.
Local instance is available at https://13.t3api.ddev.site/ (login to backend with admin / Password1! credentials).
At frontend part you can at once test REST API responses for ext news:
- https://13.t3api.ddev.site/_api/news/news
- https://13.t3api.ddev.site/_api/news/news/1
- https://13.t3api.ddev.site/_api/news/categories
- etc
You can also run Postman test with ddev composer ci:tests:postman command or full test suite with ddev composer ci.
Postman is doing full CRUD test with category and news (with image).
Development
If you want to help with development take a look at https://docs.typo3.org/p/sourcebroker/t3api/main/en-us/Miscellaneous/Development/Index.html
sourcebroker/t3api 适用场景与选型建议
sourcebroker/t3api 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 86.28k 次下载、GitHub Stars 达 39, 最近一次更新时间为 2019 年 08 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 sourcebroker/t3api 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sourcebroker/t3api 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 86.28k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 39
- 点击次数: 44
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2019-08-30