Nyholm / psr7-server

Helper classes to use any PSR7 implementation as your main request and response
MIT License
91 stars 21 forks source link

Better Namespaces #30

Closed designermonkey closed 5 years ago

designermonkey commented 5 years ago

Would it not make more sense to have Nyholm\Psr7\Server to follow the other packages you have?

Zegnat commented 5 years ago

Nyholm\Psr7 only contains classes that have been defined by PHP-FIG. I think it would be a mistake if we were to add a class to that namespace. Especially if it would be taking a spot of something PHP-FIG may specify in the future.

Much safer to keep it separated, IMHO.

Nyholm commented 5 years ago

I agree with @Zegnat. Thank you for the suggestion though.

designermonkey commented 5 years ago

I'm confused as to what the PHP-FIG has to do with your namespace, but ok.