PHPackages                             bnf/typo3-http-factory - 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. bnf/typo3-http-factory

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

bnf/typo3-http-factory
======================

PSR-17 HTTP message factories for the TYPO3 PSR-7 implementation

0.1.2(5y ago)03.2k1GPL-2.0+PHPPHP ^7.0

Since Aug 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/bnf/typo3-http-factory)[ Packagist](https://packagist.org/packages/bnf/typo3-http-factory)[ RSS](/packages/bnf-typo3-http-factory/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (9)Versions (4)Used By (0)

PSR-17 HTTP message factories for TYPO3
=======================================

[](#psr-17-http-message-factories-for-typo3)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ad483dfabea04bdd59ebb72037638657a288c68cc40fedfed1f8b769201e4e84/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f626e662f7479706f332d687474702d666163746f72792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bnf/typo3-http-factory/?branch=master)[![Build Status](https://camo.githubusercontent.com/8fdca40c1fa4c2f562cf8e1f8a17bd76733463ddb759f82956a280948febf38f/68747470733a2f2f6170692e7472617669732d63692e6f72672f626e662f7479706f332d687474702d666163746f72792e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/bnf/typo3-http-factory)[![Coverage Status](https://camo.githubusercontent.com/bdd435ed5736f26b97cc7d9e770fad770a6706c5c2c0206a53c3506b5cf8ff6d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f626e662f7479706f332d687474702d666163746f72792f62616467652e737667)](https://coveralls.io/github/bnf/typo3-http-factory)

Deprecated
----------

[](#deprecated)

As of TYPO3 v10.2 this package is no longer required, as the factories have been [merged](https://review.typo3.org/c/Packages/TYPO3.CMS/+/61558) into TYPO3 core.

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

[](#installation)

To use this package, install [bnf/typo3-http-factory](https://packagist.org/packages/bnf/typo3-http-factory)using [Composer](https://getcomposer.org/):

```
composer require bnf/typo3-http-factory

```

Note, this is a *pure* composer package – not a full-fledged TYPO3 extension. This package is intended to be wrapped by other TYPO3 extensions like [bnf/slim-typo3](https://packagist.org/packages/bnf/slim-typo3)in order to provide PSR-17 factories in a PSR-7/PSR-15 request handler context.

 Usage in a custom wrapper extensionIf you want to wrap this packages in an own TYPO3 extension, you need to specify the interface mappings for the TYPO3 dependency injection containers.

For TYPO3 v8/v9 you may provide configuration for the Extbase ObjectManager in `ext_localconf.php`:

```
$container = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\Container\Container::class);
$container->registerImplementation(\Psr\Http\Message\RequestFactoryInterface::class, \Bnf\Typo3HttpFactory\RequestFactory::class);
$container->registerImplementation(\Psr\Http\Message\ResponseFactoryInterface::class, \Bnf\Typo3HttpFactory\ResponseFactory::class);
$container->registerImplementation(\Psr\Http\Message\ServerRequestFactoryInterface::class, \Bnf\Typo3HttpFactory\ServerRequestFactory::class);
$container->registerImplementation(\Psr\Http\Message\StreamFactoryInterface::class, \Bnf\Typo3HttpFactory\StreamFactory::class);
$container->registerImplementation(\Psr\Http\Message\UploadedFileFactoryInterface::class, \Bnf\Typo3HttpFactory\UploadedFileFactory::class);
$container->registerImplementation(\Psr\Http\Message\UriFactoryInterface::class, \Bnf\Typo3HttpFactory\UriFactory::class);
unset($container);

```

As of TYPO3 v10.0 you may configure the alias map in your extensions dependency injection configuration `Configuration/Services.yaml`:

```
Psr\Http\Message\RequestFactoryInterface:
  alias: Bnf\Typo3HttpFactory\RequestFactory
Psr\Http\Message\ResponseFactoryInterface:
  alias: Bnf\Typo3HttpFactory\ResponseFactory
Psr\Http\Message\ServerRequestFactoryInterface:
  alias: Bnf\Typo3HttpFactory\ServerRequestFactory
Psr\Http\Message\StreamFactoryInterface:
  alias: Bnf\Typo3HttpFactory\StreamFactory
Psr\Http\Message\UploadedFileFactoryInterface:
  alias: Bnf\Typo3HttpFactory\UploadedFileFactory
Psr\Http\Message\UriFactoryInterface:
  alias: Bnf\Typo3HttpFactory\UriFactory

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.2% 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 ~189 days

Total

3

Last Release

2076d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8b7c224af04cc109194abd9d592618e75e05ec95ad86f2e4381b4bd110f99bd?d=identicon)[bnf](/maintainers/bnf)

---

Top Contributors

[![bnf](https://avatars.githubusercontent.com/u/473155?v=4)](https://github.com/bnf "bnf (20 commits)")[![mbrodala](https://avatars.githubusercontent.com/u/5037116?v=4)](https://github.com/mbrodala "mbrodala (1 commits)")

---

Tags

psr-7psr-17

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/bnf-typo3-http-factory/health.svg)

```
[![Health](https://phpackages.com/badges/bnf-typo3-http-factory/health.svg)](https://phpackages.com/packages/bnf-typo3-http-factory)
```

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.0B3.1k](/packages/guzzlehttp-psr7)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[laminas/laminas-diactoros

PSR HTTP Message implementations

546105.8M963](/packages/laminas-laminas-diactoros)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[nyholm/psr7-server

Helper classes to handle PSR-7 server requests

9521.1M308](/packages/nyholm-psr7-server)[laminas/laminas-stratigility

PSR-7 middleware foundation for building and dispatching middleware pipelines

586.6M81](/packages/laminas-laminas-stratigility)

PHPackages © 2026

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