Use the app()->terminating() hook to perform tasks *after* the response has been sent to the user

Use the app()->terminating() hook to perform tasks *after* the response has been sent to the user

🔥 Use the "terminating" hook on your @laravelphp app instance to perform tasks after the response was already sent to the browser.

That's also what's powering "dispatchAfterResponse" 🚀

We're writing a book, you can get it for free here.