maksimovic/getallheaders

getallheaders 的 polyfill。

4.0.0 2023-08-22 21:49 UTC

This package is auto-updated.

Last update: 2024-09-23 00:15:14 UTC


README

这是一个基于 https://github.com/ralouphie/getallheaders 的分支,但包含了最新的 CI 运行和针对 PHP 7.0 -> 8.2 的测试覆盖率

PHP getallheaders() polyfill。兼容 PHP >= 5.3。已测试与 >=7.0 版本兼容

build_status codecov License

这是一个简单的 getallheaders() polyfill。

安装

对于 PHP 版本 >= 5.6

composer require maksimovic/getallheaders

对于 PHP 版本 < 5.6

composer require maksimovic/getallheaders "^1.0.0"