定制 laravel-enso/impersonate 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

laravel-enso/impersonate

Composer 安装命令:

composer require laravel-enso/impersonate

包简介

User impersonation support for Laravel Enso

README 文档

README

License Stable Downloads PHP Issues Merge Requests

Description

Impersonate adds Enso user impersonation routes, middleware, and frontend boot state.

The package exposes start and stop impersonation endpoints, registers the impersonate middleware alias, and publishes an Impersonating state provider so the frontend can reflect the current session mode.

It is a focused authentication-adjacent package, not a full access-management system on its own.

Installation

Install the package:

composer require laravel-enso/impersonate

Run the package migrations:

php artisan migrate

Features

  • Start and stop impersonation endpoints.
  • Dedicated impersonation middleware alias.
  • Frontend state provider for current impersonation status.
  • Authorization provider wiring through the package service providers.

Usage

The package mounts:

route('core.impersonate.start', ['user' => $user]);
route('core.impersonate.stop');

API

HTTP routes

  • GET api/core/impersonate/{user}
  • GET api/core/impersonate/stop

Middleware

  • impersonate

Depends On

Required Enso packages:

Contributions

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

统计信息

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

GitHub 信息

  • Stars: 8
  • Watchers: 4
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-06-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固