承接 httpsoft/http-message 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

httpsoft/http-message

最新稳定版本:1.1.6

Composer 安装命令:

composer require httpsoft/http-message

包简介

Strict and fast implementation of PSR-7 and PSR-17

README 文档

README

License Latest Stable Version Total Downloads GitHub Build Status GitHub Static Analysis Status Scrutinizer Code Coverage Scrutinizer Code Quality

This package is a lightweight, fast, high-performance and strict implementation of the PSR-7 HTTP Message and PSR-17 HTTP Factories.

The package does not contain any additional functionality other than that defined in the PSR interfaces.

Documentation

Installation

This package requires PHP version 7.4 or later.

composer require httpsoft/http-message

Benchmark

Runs: 30,000 Guzzle HttpSoft Laminas Nyholm Slim
Runs per second 15868 19544 12257 19022 12117
Average time per run 0.0630 ms 0.0512 ms 0.0816 ms 0.0526 ms 0.0825 ms
Total time 1.8905 s 1.5349 s 2.4474 s 1.5771 s 2.4757 s

See benchmark at https://github.com/devanych/psr-http-benchmark.

Usage

For a description of how to use the package components, see the PSR-7 and PSR-17 specifications and package documentation.

For the convenience of creating requests to the server from PHP superglobals, you can use the httpsoft/http-server-request package.

composer require httpsoft/http-server-request

You can use the httpsoft/http-runner package to run requests to the server and emit responses, as well as build the PSR-15 middleware pipelines.

composer require httpsoft/http-runner

统计信息

  • 总下载量: 750.36k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 84
  • 点击次数: 5
  • 依赖项目数: 109
  • 推荐数: 1

GitHub 信息

  • Stars: 84
  • Watchers: 3
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固