Back to Blog 1 min read

NEW defer() in Laravel 11.23

http://localhost/storage/uploads/new_defer_function_in_laravel-1024x576.png alt="" class="wp-image-1271"/> Recently Taylor Otwell (Founder of Laravel) announced a new helper function defer() that...

Gurpreet Kait

Gurpreet Kait

Author

http://localhost/storage/uploads/new_defer_function_in_laravel-1024x576.png alt="" class="wp-image-1271"/>

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.