Zend Diactoros now provides a Response Factory as part of the package in version 2: installation of Zend Diactoros (per the installation instructions in this guide) will provide version 2 therefore we can assume that the user following the guide has v2, and can use the included response factory.
http-interop/http-factory-diactoros is not compatible with Diactoros v2.
Zend Diactoros now provides a Response Factory as part of the package in version 2: installation of Zend Diactoros (per the installation instructions in this guide) will provide version 2 therefore we can assume that the user following the guide has v2, and can use the included response factory.
http-interop/http-factory-diactoros
is not compatible with Diactoros v2.