PHPackages                             mileschou/psr - 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. mileschou/psr

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

mileschou/psr
=============

The support library for PSR

v2.1.0(11mo ago)6141.8k↓10.3%35MITPHPPHP ^7.4 | ^8.0CI passing

Since Apr 5Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/MilesChou/psr)[ Packagist](https://packagist.org/packages/mileschou/psr)[ RSS](/packages/mileschou-psr/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (12)Used By (5)

PSR Support Library
===================

[](#psr-support-library)

[![tests](https://github.com/MilesChou/psr/workflows/tests/badge.svg)](https://github.com/MilesChou/psr/workflows/tests/badge.svg)[![codecov](https://camo.githubusercontent.com/1e114a85d544709d192cd042a875364de28b1ac6dd64a64fc18674240b4c085f/68747470733a2f2f636f6465636f762e696f2f67682f4d696c657343686f752f7073722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/MilesChou/psr)[![Codacy Badge](https://camo.githubusercontent.com/de9e79095bb90dc59ec3a7ae7d7ccb90d62aa412d9dddaaa199175b2b87474c7/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3334313236303539313261393432623662363061393334363835363135636634)](https://www.codacy.com/gh/MilesChou/psr/dashboard)[![Latest Stable Version](https://camo.githubusercontent.com/abc0ec56d77863fd8ab3cc7f5602d3beb3770ba401a906f5bbc70f444d5ed4b5/68747470733a2f2f706f7365722e707567782e6f72672f4d696c657343686f752f7073722f762f737461626c65)](https://packagist.org/packages/MilesChou/psr)[![Total Downloads](https://camo.githubusercontent.com/027d9f6acfc1d3744f749f5fcd027f3fa7fe0fc40aa42cefbec1af8d8036f74a/68747470733a2f2f706f7365722e707567782e6f72672f4d696c657343686f752f7073722f642f746f74616c2e737667)](https://packagist.org/packages/MilesChou/psr)[![License](https://camo.githubusercontent.com/08cf6e4447636037363bd32c628c902295e10e9eff767a9948c069f01c7faa1b/68747470733a2f2f706f7365722e707567782e6f72672f4d696c657343686f752f7073722f6c6963656e7365)](https://packagist.org/packages/MilesChou/psr)

The support library for PSR.

Support Version
---------------

[](#support-version)

- 1.x supports more PHP versions.
- 2.x supports newer PSR versions.

Usage
-----

[](#usage)

- [PSR-7 HTTP Message](docs/psr7-http-message.md)
- [PSR-11 Container](docs/psr11-container.md)
- [PSR-17 HTTP Factory](docs/psr17-http-factory.md)
- [PSR-18 HTTP Client](docs/psr18-http-client.md)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance52

Moderate activity, may be stable

Popularity39

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 95.8% 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 ~172 days

Recently: every ~197 days

Total

12

Last Release

335d ago

Major Versions

1.x-dev → v2.0.02025-02-05

PHP version history (3 changes)v1.0.0PHP ^7.1

v1.3.0PHP ^7.1 | ^8.0

v2.0.0PHP ^7.4 | ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/20872dcc4b888075f03819d5470db8198ffcc5f9edb791aba5f007e34355a6c9?d=identicon)[MilesChou](/maintainers/MilesChou)

---

Top Contributors

[![MilesChou](https://avatars.githubusercontent.com/u/1258752?v=4)](https://github.com/MilesChou "MilesChou (69 commits)")[![ChengKaiChiang](https://avatars.githubusercontent.com/u/56571843?v=4)](https://github.com/ChengKaiChiang "ChengKaiChiang (1 commits)")[![eviweb](https://avatars.githubusercontent.com/u/1310382?v=4)](https://github.com/eviweb "eviweb (1 commits)")[![Lawri-van-Buel](https://avatars.githubusercontent.com/u/4235191?v=4)](https://github.com/Lawri-van-Buel "Lawri-van-Buel (1 commits)")

---

Tags

psr-11psr-17psr-18psr-7psr

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/mileschou-psr/health.svg)

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

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[thecodingmachine/graphqlite

Write your GraphQL queries in simple to write controllers (using webonyx/graphql-php).

5723.1M30](/packages/thecodingmachine-graphqlite)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

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

The next generation PHP framework.

25639.1k1](/packages/windwalker-framework)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

81733.7k](/packages/flow-php-flow)

PHPackages © 2026

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