Closed filisko closed 7 years ago
you are using old versions of these middlewares (v0.1.0) that have old dependencies, so you need an old version of middlewares/encoder (I guess this is due mindplay/middleman
, that doesn't have support for the latest version of psr-15 middlewares).
Other option is use a different dispatcher (there are more options: https://github.com/middlewares/awesome-psr15-middlewares/#dispatcher) to allows to upgrade all middlewares to the latest version.
I see, thank you @oscarotero, I will have a look later and tell you more.
Perfect, I actually used your dispatcher https://github.com/oscarotero/middleland, looks nice! My packages were just too out of date. Did a good update.
I had the Aura Router middleware package where you could use a method like arguments($container) when added to the dispatcher, it seems that now the RequestHandler does this.
Thank you!
Hi @oscarotero, When I've done "composer require middlewares/encoder", the following happened:
My composer.json looks like:
Any ideas why that could happen?