PHPackages                             f3-factory/fatfree-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. f3-factory/fatfree-psr7

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

f3-factory/fatfree-psr7
=======================

A fat-free PHP8 implementation of PSR-7 and PSR-17

2.0.1(1y ago)61021MITPHPPHP &gt;=8.0

Since Oct 28Pushed 1y ago5 watchersCompare

[ Source](https://github.com/f3-factory/fatfree-psr7)[ Packagist](https://packagist.org/packages/f3-factory/fatfree-psr7)[ RSS](/packages/f3-factory-fatfree-psr7/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (5)Versions (5)Used By (1)

Fat-Free PSR-7 implementation
=============================

[](#fat-free-psr-7-implementation)

This is a lightweight [PSR-7](https://www.php-fig.org/psr/psr-7/) implementation for PHP 8.0+.

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

[](#installation)

```
composer require f3-factory/fatfree-psr7
```

Usage
-----

[](#usage)

The package includes a [PSR-17](https://www.php-fig.org/psr/psr-17/) factory.

Use these factories according to specs to create Request, Response, Uri, Stream objects.

Tests
-----

[](#tests)

Run the test suite:

```
composer test
```

NB: Custom tests were mostly taken from [Nyholm/psr7](https://github.com/Nyholm/psr7).

Benchmarks
----------

[](#benchmarks)

Benchmarks done with `devanych/psr-http-benchmark` on php 8.0+.

Checkout `benchmark` branch, start docker composer, then run in container:

```
COMPOSER_ROOT_VERSION=1.0 composer update

```

Run benchmarks on php 8.0+:

```
cd benchmark/
php benchmark.php fatfree 50000

```

Test results (best of 3 on MacBook M2 Pro)
------------------------------------------

[](#test-results-best-of-3-on-macbook-m2-pro)

Runs: 50,000GuzzleHttpSoftLaminasNyholmSlimFatfreeRuns per second144121860817641205491444422233Average time per run0.0694 ms0.0537 ms0.0567 ms0.0487 ms0.0692 ms0.0450 msTotal time3.4691 s2.6869 s2.8342 s2.4331 s3.4616 s2.2488 s---

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~402 days

Total

3

Last Release

533d ago

Major Versions

1.0.0 → 2.0.02025-01-03

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1177647?v=4)[Christian Knuth](/maintainers/ikkez)[@ikkez](https://github.com/ikkez)

---

Top Contributors

[![ikkez](https://avatars.githubusercontent.com/u/1177647?v=4)](https://github.com/ikkez "ikkez (11 commits)")

---

Tags

http-messagepsr-17psr-7psr-7http-messagepsr-17

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/f3-factory-fatfree-psr7/health.svg)

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

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

7.9k1.1B3.8k](/packages/guzzlehttp-psr7)[symfony/psr-http-message-bridge

PSR HTTP message bridge

1.3k312.3M929](/packages/symfony-psr-http-message-bridge)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28146.3k](/packages/phpro-http-tools)[laminas/laminas-stratigility

PSR-7 middleware foundation for building and dispatching middleware pipelines

577.0M95](/packages/laminas-laminas-stratigility)[httpsoft/http-message

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

87930.4k113](/packages/httpsoft-http-message)

PHPackages © 2026

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