Skip to content

Manage all sessions using Laravel Here I have show you that we can mange the sessions of particular users of multipal devices.

Notifications You must be signed in to change notification settings

sagarankoliya/laravel-sessions

Repository files navigation

Manage all sessions using Laravel

Here I have show you that we can mange the sessions of particular users of multipal devices.

  • You can delete sessions from multipal devices of logged-in user.
  • Using Laravel Sesstion
  • You can use this thing laravel 5.4 and greater version.

Installation

Step : 1

git clone https://github.com/sagarankoliya/laravel-sessions.git

Step : 2

Go to project directory using Terminal / CMD

composer install

If you don`t have composer then install Composer Download Link

Step : 3

In project directory find .env.example and rename to .env

Generate laravel application key

php artisan key:generate

Also change DB_DATABASE, DB_USERNAME, DB_PASSWORD in .env

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

Step : 4

Run Migration

php artisan migrate

Step : 5

Run Project

php artisan serve

Visit URL : http://127.0.0.1:8000

And Create User and same user login multipal brower or system

Now you can manage sessions

Thats it.

Feel free to contact me if you have any query. (^_^)

About

Manage all sessions using Laravel Here I have show you that we can mange the sessions of particular users of multipal devices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published