PHPackages                             slimapi/psr7 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. slimapi/psr7

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

slimapi/psr7
============

Strict PSR-7 implementation

1.4.8(4y ago)021.4k[2 PRs](https://github.com/slimapi/psr7/pulls)MITPHPPHP ^7.2 || ^8.0

Since Jun 2Pushed 2y agoCompare

[ Source](https://github.com/slimapi/psr7)[ Packagist](https://packagist.org/packages/slimapi/psr7)[ Docs](https://www.slimframework.com)[ RSS](/packages/slimapi-psr7/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (12)Versions (6)Used By (0)

This package is abandoned! It was used by `slimapi/slimapi`, but it [is not needed](https://github.com/slimapi/slimapi/commit/457c9dfc172af79e18fb764845256f59960821e2) anymore.
================================================================================================================================================================================

[](#this-package-is-abandoned-it-was-used-by-slimapislimapi-but-it-is-not-needed-anymore)

Forked version of Slim PSR-7, see [slimphp#160](https://github.com/slimphp/Slim-Psr7/pull/160)
==============================================================================================

[](#forked-version-of-slim-psr-7-see-httpsgithubcomslimphpslim-psr7pull160)

Slim PSR-7
==========

[](#slim-psr-7)

Strict PSR-7 implementation used by the [Slim Framework](http://www.slimframework.com/), but you may use it separately with any framework compatible with the [PSR-7 standard](https://www.php-fig.org/psr/psr-7/).

[![Build Status](https://github.com/slimphp/Slim-Psr7/workflows/Tests/badge.svg?branch=master)](https://github.com/slimphp/Slim-Psr7/actions?query=branch:master)[![Coverage Status](https://camo.githubusercontent.com/dbf1daf9c3c025de46ffb5b75524c6d4ba17771c633e0409b5a8154f328beb14/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f736c696d7068702f536c696d2d507372372f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/slimphp/Slim-Psr7?branch=master)[![Total Downloads](https://camo.githubusercontent.com/9ddb46b63c77542f365ed4c090552c36e1e23bee61f3bcbd73001c4812cc7712/68747470733a2f2f706f7365722e707567782e6f72672f736c696d2f707372372f646f776e6c6f616473)](https://packagist.org/packages/slim/psr7)[![License](https://camo.githubusercontent.com/39dc305bd846082f73555eb52e2e87c3a92363a3b7e7c0e48e18a6bd82cb32dc/68747470733a2f2f706f7365722e707567782e6f72672f736c696d2f707372372f6c6963656e7365)](https://packagist.org/packages/slim/psr7)

Installation
------------

[](#installation)

It's recommended that you use [Composer](https://getcomposer.org) to install this library.

```
$ composer require slim/psr7
```

This will install the `slim/psr7` component and all required dependencies. PHP 7.2 or newer is required.

Tests
-----

[](#tests)

To execute the test suite, you'll need to clone the repository and install the dependencies.

```
$ git clone https://github.com/slimphp/Slim-Psr7
$ composer install
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover security related issues, please email instead of using the issue tracker.

Credits
-------

[](#credits)

- [Josh Lockhart](https://github.com/codeguy)
- [Andrew Smith](https://github.com/silentworks)
- [Rob Allen](https://github.com/akrabat)
- [Pierre Bérubé](https://github.com/l0gicgate)
- [All Contributors](../../contributors)

License
-------

[](#license)

This component is licensed under the MIT license. See [License File](LICENSE.md)for more information.

###  Health Score

33

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 54.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~210 days

Total

3

Last Release

1698d ago

PHP version history (2 changes)1.1.1PHP ^7.2

1.4.8PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e62ea31049737ce1834189e19ca8d96714cbac6ed8b87d7386a251c27db10e0?d=identicon)[o5](/maintainers/o5)

---

Top Contributors

[![l0gicgate](https://avatars.githubusercontent.com/u/6510935?v=4)](https://github.com/l0gicgate "l0gicgate (177 commits)")[![adriansuter](https://avatars.githubusercontent.com/u/3974990?v=4)](https://github.com/adriansuter "adriansuter (32 commits)")[![akrabat](https://avatars.githubusercontent.com/u/33135?v=4)](https://github.com/akrabat "akrabat (29 commits)")[![mapogolions](https://avatars.githubusercontent.com/u/41992686?v=4)](https://github.com/mapogolions "mapogolions (22 commits)")[![Stilch](https://avatars.githubusercontent.com/u/41281401?v=4)](https://github.com/Stilch "Stilch (10 commits)")[![danopz](https://avatars.githubusercontent.com/u/2058825?v=4)](https://github.com/danopz "danopz (9 commits)")[![t0mmy742](https://avatars.githubusercontent.com/u/29512640?v=4)](https://github.com/t0mmy742 "t0mmy742 (8 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (8 commits)")[![theodorejb](https://avatars.githubusercontent.com/u/3053271?v=4)](https://github.com/theodorejb "theodorejb (7 commits)")[![o5](https://avatars.githubusercontent.com/u/218562?v=4)](https://github.com/o5 "o5 (5 commits)")[![1ma](https://avatars.githubusercontent.com/u/1456708?v=4)](https://github.com/1ma "1ma (3 commits)")[![kelunik](https://avatars.githubusercontent.com/u/2743004?v=4)](https://github.com/kelunik "kelunik (2 commits)")[![dominikzogg](https://avatars.githubusercontent.com/u/1011217?v=4)](https://github.com/dominikzogg "dominikzogg (2 commits)")[![edudobay](https://avatars.githubusercontent.com/u/4432091?v=4)](https://github.com/edudobay "edudobay (2 commits)")[![noahboegli](https://avatars.githubusercontent.com/u/39568628?v=4)](https://github.com/noahboegli "noahboegli (2 commits)")[![hhovakimyan](https://avatars.githubusercontent.com/u/30544850?v=4)](https://github.com/hhovakimyan "hhovakimyan (1 commits)")[![silentworks](https://avatars.githubusercontent.com/u/79497?v=4)](https://github.com/silentworks "silentworks (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![dakujem](https://avatars.githubusercontent.com/u/443067?v=4)](https://github.com/dakujem "dakujem (1 commits)")[![andrew-demb](https://avatars.githubusercontent.com/u/12499813?v=4)](https://github.com/andrew-demb "andrew-demb (1 commits)")

---

Tags

httppsr-7psr7

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/slimapi-psr7/health.svg)

```
[![Health](https://phpackages.com/badges/slimapi-psr7/health.svg)](https://phpackages.com/packages/slimapi-psr7)
```

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k997.0M2.7k](/packages/guzzlehttp-psr7)[mezzio/mezzio

PSR-15 Middleware Microframework

3883.5M88](/packages/mezzio-mezzio)[slim/psr7

Strict PSR-7 implementation

14817.4M349](/packages/slim-psr7)[laminas/laminas-stratigility

PSR-7 middleware foundation for building and dispatching middleware pipelines

576.5M70](/packages/laminas-laminas-stratigility)[mezzio/mezzio-router

Router subcomponent for Mezzio

264.9M50](/packages/mezzio-mezzio-router)[sunrise/http-router

A powerful solution as the foundation of your project.

16249.4k10](/packages/sunrise-http-router)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
