D
D
Dadoshik2017-07-06 00:37:49
JavaScript
Dadoshik, 2017-07-06 00:37:49

How to make a timer in Laravel 5.4?

I understand that php does not interact with the user directly, and that the timer I need needs to be done through JS and AJAX.
But, maybe there is a way in lravel 5.4, with which you can make a timer with the output of time in the view, and when the time occurs, the code will be executed.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GrimJack, 2017-07-06
@GrimJack

Perhaps it is worth looking towards queues and / or console commands.
This is all in Laravel

B
Barmunk, 2017-07-06
@Barmunk

You can run rest api through js, as datatables does

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question