Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to latest PSR-15 interfaces #60

Open
danizord opened this issue Dec 19, 2017 · 4 comments
Open

Upgrade to latest PSR-15 interfaces #60

danizord opened this issue Dec 19, 2017 · 4 comments

Comments

@danizord
Copy link
Collaborator

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:

  • Release alpha/beta of next major version with latest PSR-15 draft support
  • When PSR-15 gets approved, release the stable major version
@wysow
Copy link
Contributor

wysow commented Apr 2, 2018

@danizord What is the next action on this? Looks like it's not totally ready right? We could look at it if needed.

@wysow
Copy link
Contributor

wysow commented Apr 2, 2018

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

@danizord
Copy link
Collaborator Author

danizord commented Apr 2, 2018

@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
Copy link
Contributor

wysow commented Apr 3, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants