Simple API mocking with the Symfony HTTP client

Written by COil / Original link on Feb. 11, 2022

In this post, we see a simple solution to mock API calls with the Symfony HTTP client, declare a scoped HTTP client and test it with or without mock.


« A Week of Symfony #790 (14-20 February 2022) - Static Analysis in Laravel »