thephpleague / route

Fast PSR-7 based routing and dispatch component including PSR-15 middleware, built on top of FastRoute.
http://route.thephpleague.com
MIT License
651 stars 126 forks source link

Class 'Zend\Diactoros\Response\SapiEmitter' not found #240

Closed mwz747512353 closed 5 years ago

mwz747512353 commented 5 years ago

Error thrown with message "Class 'Zend\Diactoros\Response\SapiEmitter' not found"

Stacktrace:

1 Error in F:\mewww\onephp\core\lib\App.php:129

0 onephp\App:start in F:\mewww\onephp\public\index.php:24

philipobenito commented 5 years ago

Zend\Diactoros has made a change it seems, I've just merged a pull request to update the documentation that references it.

https://route.thephpleague.com/4.x/usage/