{"id":13711735,"url":"https://github.com/httpsoft/http-message","last_synced_at":"2025-05-06T21:32:04.723Z","repository":{"id":45800176,"uuid":"289504725","full_name":"httpsoft/http-message","owner":"httpsoft","description":"Strict and fast implementation of PSR-7 and PSR-17","archived":false,"fork":false,"pushed_at":"2023-11-16T11:06:44.000Z","size":150,"stargazers_count":73,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-14T00:49:47.251Z","etag":null,"topics":["http","http-message","php","psr-17","psr-7","request-response"],"latest_commit_sha":null,"homepage":"https://httpsoft.org/docs/message","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/httpsoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-22T14:33:48.000Z","updated_at":"2024-06-18T14:03:42.269Z","dependencies_parsed_at":"2024-06-18T14:03:40.817Z","dependency_job_id":"bf71fa02-ce48-4684-a888-df7e58c2c760","html_url":"https://github.com/httpsoft/http-message","commit_stats":{"total_commits":98,"total_committers":6,"mean_commits":"16.333333333333332","dds":0.1428571428571429,"last_synced_commit":"61e933225eaa8bf8f1e62e51c168c788faf88a05"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpsoft%2Fhttp-message","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpsoft%2Fhttp-message/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpsoft%2Fhttp-message/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/httpsoft%2Fhttp-message/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/httpsoft","download_url":"https://codeload.github.com/httpsoft/http-message/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252772127,"owners_count":21801860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","http-message","php","psr-17","psr-7","request-response"],"created_at":"2024-08-02T23:01:11.114Z","updated_at":"2025-05-06T21:32:04.340Z","avatar_url":"https://github.com/httpsoft.png","language":"PHP","readme":"# HTTP Message\n\n[![License](https://poser.pugx.org/httpsoft/http-message/license)](https://packagist.org/packages/httpsoft/http-message)\n[![Latest Stable Version](https://poser.pugx.org/httpsoft/http-message/v)](https://packagist.org/packages/httpsoft/http-message)\n[![Total Downloads](https://poser.pugx.org/httpsoft/http-message/downloads)](https://packagist.org/packages/httpsoft/http-message)\n[![GitHub Build Status](https://github.com/httpsoft/http-message/workflows/build/badge.svg)](https://github.com/httpsoft/http-message/actions)\n[![GitHub Static Analysis Status](https://github.com/httpsoft/http-message/workflows/static/badge.svg)](https://github.com/httpsoft/http-message/actions)\n[![Scrutinizer Code Coverage](https://scrutinizer-ci.com/g/httpsoft/http-message/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/httpsoft/http-message/?branch=master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/httpsoft/http-message/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/httpsoft/http-message/?branch=master)\n\nThis package is a lightweight, fast, high-performance and strict implementation of the [PSR-7 HTTP Message](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-7-http-message.md) and [PSR-17 HTTP Factories](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-17-http-factory.md).\n\nThe package does not contain any additional functionality other than that defined in the PSR interfaces.\n\n## Documentation\n\n* [In English language](https://httpsoft.org/docs/message).\n* [In Russian language](https://httpsoft.org/ru/docs/message).\n\n## Installation\n\nThis package requires PHP version 7.4 or later.\n\n```\ncomposer require httpsoft/http-message\n```\n\n## Benchmark\n\n| Runs: 30,000         | Guzzle    | HttpSoft  | Laminas   | Nyholm    | Slim      |\n|----------------------|-----------|-----------|-----------|-----------|-----------|\n| Runs per second      | 15868     | 19544     | 12257     | 19022     | 12117     |\n| Average time per run | 0.0630 ms | 0.0512 ms | 0.0816 ms | 0.0526 ms | 0.0825 ms |\n| Total time           | 1.8905 s  | 1.5349 s  | 2.4474 s  | 1.5771 s  | 2.4757 s  |\n\nSee benchmark at [https://github.com/devanych/psr-http-benchmark](https://github.com/devanych/psr-http-benchmark).\n\n## Usage\n\n\u003e For a description of how to use the package components, see the [PSR-7](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-7-http-message.md) and [PSR-17](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-17-http-factory.md) specifications and [package documentation](https://httpsoft.org/docs/message).\n\nFor the convenience of creating requests to the server from PHP superglobals, you can use the [httpsoft/http-server-request](https://github.com/httpsoft/http-server-request) package.\n\n```\ncomposer require httpsoft/http-server-request\n```\n\nYou can use the [httpsoft/http-runner](https://github.com/httpsoft/http-runner) package to run requests to the server and emit responses, as well as build the [PSR-15](https://github.com/php-fig/http-server-middleware) middleware pipelines.\n\n```\ncomposer require httpsoft/http-runner\n```\n","funding_links":[],"categories":["Packages"],"sub_categories":["PSR-7 implementations"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttpsoft%2Fhttp-message","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhttpsoft%2Fhttp-message","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttpsoft%2Fhttp-message/lists"}