jetiradoro/laravel-session-manager 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jetiradoro/laravel-session-manager

Composer 安装命令:

composer require jetiradoro/laravel-session-manager

包简介

Manage current sessions in laravel application

README 文档

README

This module allow manage users connected in own laravel app and force logout and destroy old sessions.

Installation

  1. With Composer : download files
composer require jetiradoro/laravel-session-manager
  1. Proceed to install module
> php artisan session-manager:install

This process modify variables .env file, execute migrations and config params for fine work.

Now you can got to http://[url_your_app]/admin/current-connections and you looks sessions which are equal or more than 10 minutes without any request.

Customization

If you want custom propierties in this plugins you can publish files:

> php artisan vendor:publish --provider="\Jetiradoro\SessionManager\SessionManagerServiceProvider"

session-manager.php config file

You will can set:

  • max time of inhactivity
  • messages of transactions
  • Custom routes for use.

Install process modify an add variables in your .env file, set SESSION_DRIVER to 'DATABASE' and add SM_ROUTES variable with a true value.

If you want change deafult routes you need set this variable to false, and modify session-manager.php config file to new routes.

This plugin uses vue.js and axios, in view layout load this libraries moreover necessary app.js file. If you want change main layout is necessary that you load app.js file

统计信息

  • 总下载量: 33
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-12-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固