Skip to content

Commit

Permalink
Merge pull request #46 from tobias-trozowski/feature/psr-17-support
Browse files Browse the repository at this point in the history
PSR-17 support
  • Loading branch information
weierophinney committed Dec 7, 2021
2 parents ce3627d + 92df3d4 commit 96ac93d
Show file tree
Hide file tree
Showing 42 changed files with 1,830 additions and 1,644 deletions.
5 changes: 2 additions & 3 deletions README.md
Expand Up @@ -2,9 +2,8 @@

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

This library provides utilities for modeling HAL resources with links and
generating [PSR-7](http://www.php-fig.org/psr/psr-7/) responses representing
both JSON and XML serializations of them.
This library provides utilities for modeling HAL resources with links and generating [PSR-7](https://www.php-fig.org/psr/psr-7/) responses representing both JSON and XML serializations of them.
(The library consumes [PSR-17](https://www.php-fig.org/psr/psr-17/) `ResponseFactoryInterface` implementations in order to provide HAL response instances.)

## Installation

Expand Down
5 changes: 4 additions & 1 deletion composer.json
Expand Up @@ -11,6 +11,7 @@
"psr-7",
"psr-11",
"psr-13",
"psr-17",
"rest"
],
"homepage": "https://mezzio.dev",
Expand All @@ -31,11 +32,13 @@
}
},
"require": {
"php": "^7.3 || ~8.0.0 || ~8.1.0",
"php": "^7.4 || ~8.0.0 || ~8.1.0",
"ext-dom": "*",
"ext-json": "*",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0.1",
"psr/link": "^1.0",
"webmozart/assert": "^1.10",
"willdurand/negotiation": "^3.0"
},
"require-dev": {
Expand Down

0 comments on commit 96ac93d

Please sign in to comment.