Follow

So you use a PSR-4 implementation to instantiate a PSR-17 factory to create PSR-7 implementations to integrate with PSR-15 implementations, but you can also use them for PSR-18 implementations.

PHP standards have a naming problem.

@Albright So, you use an autoloader, to instantiate an http factory to create a request/response to integrate with your request handler or your http client.

Seems a bit clearer when you describe it that way.

Sure there are other ways to implement all those things, but your code will show that you’re using PSR implementations, which is fine.

Sign in to participate in the conversation
PHP Community on Mastodon

Open source. Open community. We are dedicated to building and enriching the PHP community.