moneo/laravel-request-forwarder
Forward incoming Laravel HTTP requests to another URL or microservice with simple, configurable middleware. Preserve headers, methods, and payloads—ideal for proxies, webhooks, and gradual migrations.
composer require <vendor>/<package>:^1.0) and plan the framework upgrade before taking v2.composer require <vendor>/<package>:^2.0
php artisan vendor:publish --provider="<Vendor>\<Package>\<PackageServiceProvider>"
Read composer.json in the package (illuminate/* constraints) and the UPGRADE/CHANGELOG notes before running composer update in a mixed-dependency project — v2.0.1 is a patch release on top of v2.0.0, so the Laravel 10 drop is inherited from the major, not new in the patch.config/<package>.php), and the test helpers/traits — the release note about "log testing" points at the package's testing surface, which is where most day-to-day value lives.setUp() and tear it down in tearDown() so state never leaks between tests. Prefer this over reading storage/logs/laravel.log, which is order-dependent and polluted by parallel runs.Log::assertLogged('error', fn ($message, $context) => ...)) rather than the rendered line. This is exactly the class of assertion that broke across Laravel 11 minors and was fixed in v2.0.1 — formatting-coupled assertions will keep breaking.laravel/framework in the matrix rather than floating ^11.0 if you want reproducible log assertions.composer.json, use ^2.0.1 for the package and let the lock file pin the framework. When bumping framework minors, run only the logging-related tests first (php artisan test --filter=Log) to isolate regressions cheaply.daily rotation), wrap them in your own base test case / custom assertion rather than forking — keeps upgrades to v2.x cheap.^2.0 as "Laravel 11+ only" and audit composer.lock in any package you maintain that depends on this one — a transitive ^2.0 constraint will force your own Laravel 11 floor.php artisan config:clear, confirm LOG_CHANNEL in phpunit.xml (set it explicitly rather than inheriting .env), and check whether the fake was installed before the code under test booted.composer.json, not the README. Release-note wording about "Laravel 11 versions" is about test compatibility, not a guarantee of every future 11.x — pin and test what you deploy.How can I help you explore Laravel packages today?