79585175

Date: 2025-04-21 19:22:16
Score: 1
Natty:
Report link

I’ve created a Laravel package which lets you record a real HTTP request and it will automatically create a Fixture with faker data similar to Laravel factories. It works almost the same way as Charlie mentioned in his comment.

Http::fake(["https://api.stripe.com/v1/*" => Http::response(
    (new StripeFixture())->toJson(),  200),
]);

Check it out here

Reasons:
  • Blacklisted phrase (0.5): Check it out
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user30333844