PHPackages                             digphp/psr17 - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. digphp/psr17

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

digphp/psr17
============

digphp psr17

1.0.0(4y ago)0151GPL-3.0PHP

Since Mar 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/digphp/psr17)[ Packagist](https://packagist.org/packages/digphp/psr17)[ RSS](/packages/digphp-psr17/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (1)

psr17
=====

[](#psr17)

php psr17

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

[](#installation)

```
composer require digphp/psr17
```

Usage
-----

[](#usage)

```
$factory = new \DigPHP\Psr17\Factory;

$request = $factory->createRequest(string $method, $uri);
$response = $factory->createResponse(int $code = 200, string $reasonPhrase = '');
$response = $factory->createGeneralResponse(int $code = 200, array $headers = [], string $body = null);
$server_request = $factory->createServerRequest(string $method, $uri, array $serverParams = []);
$stream = $factory->createStream(string $content = '');
$stream = $factory->createStreamFromFile(string $file, string $mode = 'r');
$stream = $factory->createStreamFromResource($resource);
$upload_file = $factory->createUploadedFile(StreamInterface $stream,int $size = null,int $error = \UPLOAD_ERR_OK,string $clientFilename = null,string $clientMediaType = null);
$uri = $factory->createUri(string $uri = '');
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

1530d ago

### Community

Maintainers

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

---

Top Contributors

[![wseng](https://avatars.githubusercontent.com/u/6572161?v=4)](https://github.com/wseng "wseng (1 commits)")

### Embed Badge

![Health badge](/badges/digphp-psr17/health.svg)

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

###  Alternatives

[kreait/firebase-php

Firebase Admin SDK

2.4k39.7M72](/packages/kreait-firebase-php)[saloonphp/saloon

Build beautiful API integrations and SDKs with Saloon

2.4k9.6M468](/packages/saloonphp-saloon)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[aporat/store-receipt-validator

PHP receipt validator for Apple App Store and Amazon Appstore

6503.9M9](/packages/aporat-store-receipt-validator)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)

PHPackages © 2026

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