PHPackages                             mezzio70/mezzio-problem-details - 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. mezzio70/mezzio-problem-details

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

mezzio70/mezzio-problem-details
===============================

PHP 7.0 support for: Problem Details for PSR-7 HTTP APIs addressing the RFC 7807 standard

1.7.x-dev(4y ago)0306BSD-3-ClausePHPPHP &gt;=7.0

Since Apr 27Pushed 4y agoCompare

[ Source](https://github.com/mezzio70/mezzio-problem-details)[ Packagist](https://packagist.org/packages/mezzio70/mezzio-problem-details)[ Docs](https://mezzio.dev)[ RSS](/packages/mezzio70-mezzio-problem-details/feed)WikiDiscussions 1.7.x Synced 1mo ago

READMEChangelogDependencies (10)Versions (1)Used By (0)

PHP 7.0 support for Problem Details for PSR-7 Applications (RFC 7807)
=====================================================================

[](#php-70-support-for-problem-details-for-psr-7-applications-rfc-7807)

[![Build Status](https://github.com/mezzio70/mezzio-problem-details/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/mezzio70/mezzio-problem-details/actions/workflows/continuous-integration.yml)

> ## 🇷🇺 Русским гражданам
>
> [](#-русским-гражданам)
>
> Мы, участники Laminas, родились и живем в разных странах. У многих из нас есть друзья, родственники и коллеги как в России, так и в Украине. Некоторые из нас родились в России. Некоторые из нас живут в России. У некоторых бабушки и дедушки сражались с фашистами во Второй мировой войне. Здесь никто не поддерживает фашизм.
>
> У одного из нас есть украинская родственница, которая спаслась из дома вместе с сыном. Поезд задержался из-за бомбежки на дороге впереди. У нас есть друзья, которые прячутся в бомбоубежищах. Мы с тревогой ждем весточки от них после воздушных налетов, которые беспорядочно наносят удары и попадают по больницам, школам, детским садам и домам. Мы не берем это из каких-либо СМИ. Мы наблюдаем это напрямую.
>
> Вы доверяете нам достаточно, чтоб использовать наши программы, и мы просим вас довериться нам вновь. Мы нуждаемся в помощи. Выходите и протестуйте против этой бесполезной войны. Остановите кровопролитие. Скажите "Нет войне!"
>
> ## 🇺🇸 To Citizens of Russia
>
> [](#-to-citizens-of-russia)
>
> We at Laminas come from all over the world. Many of us have friends, family and colleagues in both Russia and Ukraine. Some of us were born in Russia. Some of us currently live in Russia. Some have grandparents who fought Nazis in World War II. Nobody here supports fascism.
>
> One team member has a Ukrainian relative who fled her home with her son. The train was delayed due to bombing on the road ahead. We have friends who are hiding in bomb shelters. We anxiously follow up on them after the air raids, which indiscriminately fire at hospitals, schools, kindergartens and houses. We're not taking this from any media. These are our actual experiences.
>
> You trust us enough to use our software. We ask that you trust us to say the truth on this. We need your help. Go out and protest this unnecessary war. Stop the bloodshed. Say "stop the war!"

This library provides a factory for generating Problem Details responses, error handling middleware for automatically generating Problem Details responses from errors and exceptions, and custom exception types for [PSR-7](http://www.php-fig.org/psr/psr-7/) applications. All responses are [RFC 7807](https://datatracker.ietf.org/doc/html/rfc7807) compliant.

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

[](#installation)

Run the following to install this library:

```
$ composer require mezzio70/mezzio-problem-details
```

Documentation
-------------

[](#documentation)

Documentation is [in the doc tree](docs/book/), and can be compiled using [mkdocs](https://www.mkdocs.org):

```
$ mkdocs build
```

You may also [browse the documentation online](https://docs.mezzio.dev/mezzio-problem-details/).

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 51.7% 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

1476d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/12bb1d3b51340daa0f19c946f2ba7d3e4b277854fc722409809d0e43845fe0de?d=identicon)[garygitton](/maintainers/garygitton)

---

Top Contributors

[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (186 commits)")[![michalbundyra](https://avatars.githubusercontent.com/u/7423207?v=4)](https://github.com/michalbundyra "michalbundyra (69 commits)")[![akrabat](https://avatars.githubusercontent.com/u/33135?v=4)](https://github.com/akrabat "akrabat (18 commits)")[![acelaya](https://avatars.githubusercontent.com/u/2719332?v=4)](https://github.com/acelaya "acelaya (15 commits)")[![geerteltink](https://avatars.githubusercontent.com/u/9497586?v=4)](https://github.com/geerteltink "geerteltink (10 commits)")[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (10 commits)")[![Xerkus](https://avatars.githubusercontent.com/u/725842?v=4)](https://github.com/Xerkus "Xerkus (8 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (7 commits)")[![boesing](https://avatars.githubusercontent.com/u/2189546?v=4)](https://github.com/boesing "boesing (6 commits)")[![ghostwriter](https://avatars.githubusercontent.com/u/9754361?v=4)](https://github.com/ghostwriter "ghostwriter (6 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (5 commits)")[![BreiteSeite](https://avatars.githubusercontent.com/u/2171105?v=4)](https://github.com/BreiteSeite "BreiteSeite (5 commits)")[![ncou](https://avatars.githubusercontent.com/u/16743322?v=4)](https://github.com/ncou "ncou (3 commits)")[![laminas-bot](https://avatars.githubusercontent.com/u/68250880?v=4)](https://github.com/laminas-bot "laminas-bot (2 commits)")[![froschdesign](https://avatars.githubusercontent.com/u/103362?v=4)](https://github.com/froschdesign "froschdesign (2 commits)")[![basz](https://avatars.githubusercontent.com/u/143068?v=4)](https://github.com/basz "basz (1 commits)")[![lhpalacio](https://avatars.githubusercontent.com/u/2530250?v=4)](https://github.com/lhpalacio "lhpalacio (1 commits)")[![Orkin](https://avatars.githubusercontent.com/u/1061903?v=4)](https://github.com/Orkin "Orkin (1 commits)")[![Oussous-Hassan](https://avatars.githubusercontent.com/u/3852740?v=4)](https://github.com/Oussous-Hassan "Oussous-Hassan (1 commits)")[![starkskalle](https://avatars.githubusercontent.com/u/22981106?v=4)](https://github.com/starkskalle "starkskalle (1 commits)")

---

Tags

apilaminasrestmezzioproblem detailsrfc7807rfc 7807php 7.0

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mezzio70-mezzio-problem-details/health.svg)

```
[![Health](https://phpackages.com/badges/mezzio70-mezzio-problem-details/health.svg)](https://phpackages.com/packages/mezzio70-mezzio-problem-details)
```

###  Alternatives

[mezzio/mezzio-problem-details

Problem Details for PSR-7 HTTP APIs addressing the RFC 7807 standard

271.1M24](/packages/mezzio-mezzio-problem-details)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k48.1M236](/packages/api-platform-core)[mezzio/mezzio-authentication-oauth2

OAuth2 (server) authentication middleware for Mezzio and PSR-7 applications.

28483.0k2](/packages/mezzio-mezzio-authentication-oauth2)[mezzio/mezzio

PSR-15 Middleware Microframework

3883.6M97](/packages/mezzio-mezzio)[mezzio/mezzio-authentication

Authentication middleware for Mezzio and PSR-7 applications

121.6M26](/packages/mezzio-mezzio-authentication)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.0M61](/packages/mezzio-mezzio-router)

PHPackages © 2026

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