# \#psr-7

**URL:** https://discourse.laminas.dev/tag/psr-7/18.md

[Latest](https://discourse.laminas.dev/latest.md) · [Categories](https://discourse.laminas.dev/categories.md) · [Tags](https://discourse.laminas.dev/tags.md)

---

## [Json output by responseFactory or JsonResponse?](https://discourse.laminas.dev/t/json-output-by-responsefactory-or-jsonresponse/2823)

<div class="topic-metadata">

**Author:** [@voltan](https://discourse.laminas.dev/u/voltan)\
**Replies:** 2\
**Last updated:** [March 25, 2022, 3:57pm UTC](https://discourse.laminas.dev/t/json-output-by-responsefactory-or-jsonresponse/2823 "2022-03-25T15:57:21Z")

</div>

Hello I try to write modules by supporting PSR7, just a question from JSON output in handler, which one is correct? Simple output by JsonResponse $result = \[ 'result' =\> true, 'data' …

---

## [Versioning psr-7 apps](https://discourse.laminas.dev/t/versioning-psr-7-apps/719)

<div class="topic-metadata">

**Author:** [@marcguyer](https://discourse.laminas.dev/u/marcguyer)\
**Replies:** 3\
**Last updated:** [April 15, 2019, 12:29pm UTC](https://discourse.laminas.dev/t/versioning-psr-7-apps/719 "2019-04-15T12:29:28Z")

</div>

Hey y’all. I’ve written a middleware package intended to manage API versioning. It’s inspired somewhat by zfcampus/zf-versioning but for Expressive and other PSR-7 apps. Before I go further, I’m looking for feedback. I s…

---

## [RFC: PHP Session and PSR-7](https://discourse.laminas.dev/t/rfc-php-session-and-psr-7/294)

<div class="topic-metadata">

**Author:** [@enrico](https://discourse.laminas.dev/u/enrico)\
**Replies:** 13\
**Last updated:** [September 28, 2017, 3:27pm UTC](https://discourse.laminas.dev/t/rfc-php-session-and-psr-7/294 "2017-09-28T15:27:11Z")

</div>

PHP Sessions are used in many web application to store user’s data on the server. For instance, the majority of the PHP applications with a login page (with username and password) use Session. The usage of PHP functions…
