Closed tomg65 closed 3 years ago
zendframework/zend-diactoros is abandoned, you can change to laminas/laminas-diactoros
If you need a simple solution, you can follow this steps.
composer require laminas/laminas-diactoros
search
use Zend\Diactoros\Response as Psr7Response;
replace
use Laminas\Diactoros\Response as Psr7Response;
@gonzariosm what about backward compatibility? will this work with older versions?
sorry @dusterio i do not know because only test in Lumen 8.
works fine for me, thanks @gonzariosm
@gonzariosm ok I created a new version 0.3.1 just to be safe, thanks for the report
@gonzariosm ok I created a new version 0.3.1 just to be safe, thanks for the report
perfect - thank you very much
Hi,
in a new lumen 8 project i got this error on POST to /oauth/token:
Class 'Zend\Diactoros\Response' not found
in vendor/dusterio/lumen-passport/src/Http/Controllers/AccessTokenController.php (line 34)
....
use Zend\Diactoros\Response as Psr7Response;
.... ....return $this->server->respondToAccessTokenRequest($request, new Psr7Response);
Best Thomas