paranoid paranoid - 8 months ago 349
PHP Question

Get online users in laravel

I have one user for login to demo of my script.

I want get how many people online now.

I use

laravel 5.2

What am I do?


You could keep sessions in a DB and use last_activity column to determine how many users are currently online.