http-interop / http-middleware

PSR-15 interfaces for HTTP Middleware
MIT License
73 stars 7 forks source link

Change namespace #51

Closed atanvarno69 closed 7 years ago

atanvarno69 commented 7 years ago

Closes #47.

Option one seems most popular:

Rename the namespace to Psr\Http\ServerMiddleware, and rename the ServerMiddlewareInterface to MiddlewareInterface.

schnittstabil commented 7 years ago

Maybe the composer description have to be reconsidered too:

{
     "name": "http-interop/http-middleware",
     "description": "Common interface for HTTP middleware"
}
atanvarno69 commented 7 years ago

@schnittstabil good spot, thank you.

Updated.

shadowhand commented 7 years ago

@http-interop/http-middleware-contributors this is a breaking change and packages will need to be updated to reflect the new namespace.

Tagged in 0.4.0.