You can create a middleware that save the last time the user has been active (has sent a request). Then you can either log him our on his next request if the last active time is higher than your threshold or automatically log him out by sending and event.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community