Open the file
app/config/session.php and change the
We need to create the
sessions table, so use the following artisan command
php artisan session:table to generate the migration file.
This is a very basic, but hopefully an efective way to detect both Guest and Registered users on your Laravel application.