Back to Blog 1 min read

NEW defer() in Laravel 11.23

Recently Taylor Otwell (Founder of Laravel) announced a new helper function defer() that means running a piece of code after sending the response...

Gurpreet Kait

Gurpreet Kait

Author





Recently Taylor Otwell (Founder of Laravel) announced a new helper function defer() that means running a piece of code after sending the response. So, defer means "putting something later in the time", it does.



You can read more about it here: Defer function in Laravel or blog by a friend Amit Merchant (Laravel enthusiast) The magic behind Laravel's new defer() helper



I hope you learn more. Regards.