zf-fr / zfr-eb-worker

ZfrEbWorker is a thin layer to simplify the usage of SQS queues and Elastic Beanstalk environments
MIT License
8 stars 2 forks source link

Upgrade to latest PSR-15 interfaces #60

Open danizord opened 6 years ago

danizord commented 6 years ago

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:

wysow commented 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.

wysow commented 6 years ago

@danizord I'm wondering if zendframework/zend-expressive should be declared as an explicit dependency, thoughts?

danizord commented 6 years ago

@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.

wysow commented 6 years ago

@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.