Open danizord opened 6 years ago
@danizord What is the next action on this? Looks like it's not totally ready right? We could look at it if needed.
@danizord I'm wondering if zendframework/zend-expressive
should be declared as an explicit dependency, thoughts?
@wysow
@danizord What is the next action on this? Looks like it's not totally ready right? We could look at it if needed.
Now that PSR-15 was approved, we can implement the official interfaces directly. Would you like to take this one? :)
@danizord I'm wondering if zendframework/zend-expressive should be declared as an explicit dependency, thoughts?
Nope. This package can be used with any PSR-15 compatible middleware dispatcher.
@danizord what do you think of this diff? https://github.com/zf-fr/zfr-eb-worker/compare/master...Enoptea:feature/router-middleware?expand=1
There is more work in it but should let you see if it's ok for you on the PSR-15 changes.
The latest release of proposed interfaces were moved to a new package: https://github.com/http-interop/http-server-middleware. We should take the same strategy as Zend\Expressive here: