Replacing PHP http Wrapper

By Alexandre Daubois

../_images/http_wrapper.png

Did you know you can override built-in protocols such as https://?

You can create mocks! I’d advise to use dedicated tools such as #Symfony MockHttpClient. But in the case of vanilla PHP…

I’ll let you tell me if it’s a good or a terrible idea 😉.

See Also

PHP Features