Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Updates SapiEmitter to use zend-httphandlerrunner #2
This updates the Zend emitter package since "Zend\Diactoros\Response\SapiEmitter" is now deprecated. https://docs.zendframework.com/zend-diactoros/v1/emitting-responses/
You may want to update the Composer package reference in your article as well, as it might lead to some confusion if someone is trying to work alongside it.
Great stuff man! Super helpful.
Solid change, thanks! I think this is gonna have to be part of a larger code and blog post update, so I'm gonna wait a bit to pull it in.
I'm currently using Relay as the PSR-15 implementation, but it's still not out of alpha. If I'm gonna use zend-httphandlerrunner for the emitters, might as well use it for the PSR-15 implementation too. (Not entirely sure why the ZF team felt like a PSR-7 and PSR-15 implementation should be bundled together in the same package, but whatever.)