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.
- Host: GitHub
- URL: https://github.com/zendframework/zend-problem-details
- Owner: zendframework
- License: bsd-3-clause
- Archived: true
- Created: 2017-08-01T13:50:31.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-28T18:39:27.000Z (over 5 years ago)
- Last Synced: 2024-11-11T13:08:37.621Z (11 months ago)
- Topics: api, php, problem-details, psr-15, psr-7, rest, zend-expressive, zend-framework
- Language: PHP
- Homepage:
- Size: 1.82 MB
- Stars: 50
- Watchers: 14
- Forks: 18
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: docs/CODE_OF_CONDUCT.md
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).[](https://secure.travis-ci.org/zendframework/zend-problem-details)
[](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/).