An open API service indexing awesome lists of open source software.

https://github.com/zendframework/zend-problem-details

Provides Problem Details for HTTP APIs (RFC 7807) support for PSR-7 applications.
https://github.com/zendframework/zend-problem-details

api php problem-details psr-15 psr-7 rest zend-expressive zend-framework

Last synced: 3 months ago
JSON representation

Provides Problem Details for HTTP APIs (RFC 7807) support for PSR-7 applications.

Awesome Lists containing this project

README

          

# Problem Details for PSR-7 Applications

> ## Repository abandoned 2019-12-31
>
> This repository has moved to [mezzio/mezzio-problem-details](https://github.com/mezzio/mezzio-problem-details).

[![Build Status](https://secure.travis-ci.org/zendframework/zend-problem-details.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-problem-details)
[![Coverage Status](https://coveralls.io/repos/github/zendframework/zend-problem-details/badge.svg?branch=master)](https://coveralls.io/github/zendframework/zend-problem-details?branch=master)

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.

## Installation

Run the following to install this library:

```bash
$ composer require zendframework/zend-problem-details
```

## Documentation

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

```bash
$ mkdocs build
```

You may also [browse the documentation online](https://docs.zendframework.com/zend-problem-details/).