akrabat / ip-address-middleware

PSR-7 Middleware that determines the client IP address and stores it as an ServerRequest attribute
Other
168 stars 38 forks source link

Implement psr-15 middleware #11

Closed harikt closed 6 years ago

harikt commented 6 years ago

Hi,

I have tried to in-corporate psr-15 so that this can be used with expressive 3 or any psr-15 middleware.

I guess this will not be a BC break for nothing is relying or change in API.

If it is I hope we can remove __invoke and push major version.

akrabat commented 6 years ago

Thanks @harikt !

harikt commented 6 years ago

You are welcome. 😋