sapphirecat/slim4-http-interop-adapter
Composer 安装命令:
composer require sapphirecat/slim4-http-interop-adapter
包简介
Autoconfigures guzzlehttp/psr7 1.x for use with Slim ^4.9
README 文档
README
Auto-configures Slim 4.x to use guzzlehttp/psr7 version 1.x.
Installation and Usage
composer require sapphirecat/slim4-http-interop-adapter
Dependencies and autoloading are both configured so that installation of the
package is the only necessary action. Using the autoloader will register the
necessary support with Slim's Psr17FactoryProvider.
Guzzle PSR-7 versions in Slim 4
Slim 4 requires a PSR-17 implementation. Guzzle PSR-7 version 1.x does not provide one, but version 2.x does.
Prior to 4.9.0, Slim 4 supported the Guzzle HTTP Factory,
http-interop/http-factory-guzzle, which provided the PSR-17 implementation.
Since 4.9.0, Slim 4 supports Guzzle PSR-7 2.x's PSR-17 implementation directly,
removing support for 1.x. This
package—sapphirecat/slim4-http-interop-adapter—is primarily designed to
support version 1.x in the newer Slim 4 versions. It continues to be
functional, but redundant, with Guzzle PSR-7 2.x and/or with Slim 4.8.1 and
older.
License
MIT, copied verbatim from Slim 4.8.1.
sapphirecat/slim4-http-interop-adapter 适用场景与选型建议
sapphirecat/slim4-http-interop-adapter 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 52.06k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 10 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 sapphirecat/slim4-http-interop-adapter 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sapphirecat/slim4-http-interop-adapter 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 52.06k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 15
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-10-18