Releases: EYOND/laravel-http-replay
Releases · EYOND/laravel-http-replay
v0.2.0
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
v0.1.1
v0.1.0 — Public Beta
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-bailflag - Fresh mode with
--replay-freshflag Replay::configure()for global setup without activationreplay:pruneArtisan command- Supports Laravel 11/12 and PHP 8.3/8.4
Install
composer require eyond/laravel-http-replay --devNote: This is a
0.xrelease — the API may still change before1.0. Feedback welcome!