[Solved] Laravel 5.1, Return response to user, then excute some code [closed]

[ad_1]

You may use queue. When user comment post, add event to queue.
Queue is parsed by cron (using Laravel’s command).

[ad_2]

solved Laravel 5.1, Return response to user, then excute some code [closed]