How would u trigger a button (red / green) if something is changed on an api? Reverb? Livewire poll des to much headlift. A job who runs every second?
Yes I tried slower intervals, but client like to have like realtime.
The data changes not often. But if its changes it should be immediately.
Hello,
Ich Hava question. I startet a new project in Laravel where I like to use "modules". I know there is an package how does it. But I went quite far on my own. But at the moment Iam stuck with the problem that I can't use the session data in my modules. What do I miss?
I created a modules folder in there are the modules with an own ServiceProvider file where I register all the stuff. That works fine. But how can I access the session data in an controller in one of these modules?
greets
Steven
Helllo Lukas,
no, I didnt configure any middleware. If I use any file in the app folder it works. If I use any file in my modules folder (its in the root folder) I can't see the session data.