composer require uccello/impersonate
Create a file located at resources/views/uccello/modules/user/detail/main.blade.php
and add the following code:
@extends('uccello::modules.default.detail.main')
@section('custom-top-action-buttons')
@include('impersonate::button')
@append
Add the following code into the file located at resources/layouts/uccello.blade.php
:
@section('after-navbar-header')
@include('impersonate::message')
@append