I have a Laravel 5.2 admin page that has a sync button. It calls php artisan sync
command that runs for around 10 minutes.
During it's run it echoes out multiple data lines like:
[1] Product name. Progress 100%.
[2] Product two name. Progress 90%
...
This is nice, if I call the sync from console, but I want also to display the same date in the admin page in a a bootstrap like modal similar to this:
so that the moderator can see the exact progress I see, when I run the command directly from the console.
Haw can I accomplish this?
EDIT
I have this idea for "real-time" approach