spatie/laravel-http-logger
Laravel middleware that logs incoming HTTP requests (payload, headers, etc.) to your configured log/channel, creating a safety net for critical form submissions and debugging. Includes toggleable enable flag plus customizable log profile and writer.
For Executives: "This package adds a lightweight but powerful safety net for our Laravel app—like a black box recorder for HTTP requests. For every user action (especially high-risk ones like payments or form submissions), we’ll automatically log the raw data sent to our server. This means if something goes wrong, we can instantly replay the exact request that caused it, slashing debugging time and reducing compliance risks. It’s a no-code solution that costs almost nothing to implement but could save thousands in postmortem hours or regulatory fines. Think of it as insurance for our backend."
For Engineering:
*"Spatie’s laravel-http-logger is a battle-tested middleware that logs all incoming requests (headers, body, metadata) to Laravel’s default log channel. Key benefits:
app/Http/Kernel.php.Logging events to filter or transform logs.
Use case: Drop this into your api.php or web.php middleware stack for critical routes. Pair with Laravel Telescope for a full observability suite."*How can I help you explore Laravel packages today?