You may use queue. When user comment post, add event to queue.
Queue is parsed by cron (using Laravel’s command).
solved Laravel 5.1, Return response to user, then excute some code [closed]
You may use queue. When user comment post, add event to queue.
Queue is parsed by cron (using Laravel’s command).
solved Laravel 5.1, Return response to user, then excute some code [closed]