fennec-tech/laravel-single-sign-on 问题修复 & 功能扩展

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

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

fennec-tech/laravel-single-sign-on

Composer 安装命令:

composer require fennec-tech/laravel-single-sign-on

包简介

This package is a very simple Laravel single sign on for multiple applications.

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This package is a very simple Laravel single sign on for multiple applications.

Installation

You can install the package via composer:

composer require fennec-tech/laravel-single-sign-on

You can publish the config file with:

php artisan vendor:publish --tag="laravel-single-sign-on-config"

Usage

1- Add SESSION_DOMAIN and ACCOUNTS_URL to your .env file.

2- Add LaravelSingleSignOnMiddleware::class to the $middleware variable in the kernel.php file.

3- Add RedirectIfAuthenticatedMiddleware::class to the 'guest' attribute in the $routeMiddleware variable in the kernel.php file.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-07