Skip to content

Releases: EYOND/laravel-http-replay

v0.2.0

19 Mar 16:15

Choose a tag to compare

Added

  • Fluent bail() method on ReplayBuilder to abort the test before sending the request when no replay is found

Changed

  • Bail now triggers before the HTTP request instead of after the response
  • Upgrade to Laravel 13 support (drop Laravel 11/12)
  • Require PHP 8.4+ (drop PHP 8.3)
  • Update Orchestra Testbench to ^11.0

v0.1.2

25 Feb 12:52

Choose a tag to compare

Documentation

  • Clarify that replay is a reserved attribute key in withAttributes docs
  • Add example for custom attributes with matchBy('attribute:key')

v0.1.1

25 Feb 07:13

Choose a tag to compare

v0.1.1 Pre-release
Pre-release

Fixed

  • Add testing keyword to composer.json so Packagist shows composer require eyond/laravel-http-replay --dev

v0.1.0 — Public Beta

25 Feb 07:01

Choose a tag to compare

Pre-release

First public release 🚀

Initial beta release of eyond/laravel-http-replay — record and replay HTTP responses in Laravel/Pest tests.

Highlights

  • Http::replay() macro for automatic recording & replaying
  • 15 built-in matchers for filename generation: method, url, host, domain, subdomain, path, attribute:key, body_hash, body_hash:keys, body_field:path, query_hash, query_hash:keys, query:key, header:key, and closures
  • Per-URL configuration via for('pattern')->matchBy(...)
  • Shared fakes with readFrom(), writeTo(), useShared()
  • Expiry with expireAfter()
  • CI safety with --replay-bail flag
  • Fresh mode with --replay-fresh flag
  • Replay::configure() for global setup without activation
  • replay:prune Artisan command
  • Supports Laravel 11/12 and PHP 8.3/8.4

Install

composer require eyond/laravel-http-replay --dev

Note: This is a 0.x release — the API may still change before 1.0. Feedback welcome!