PHPackages                             rmsramos/change-user - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. rmsramos/change-user

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

rmsramos/change-user
====================

This is my package change-user

v1.0.1(2y ago)8182MITPHPPHP ^8.1

Since Jun 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/rmsramos/change-user)[ Packagist](https://packagist.org/packages/rmsramos/change-user)[ Docs](https://github.com/rmsramos/change-user)[ GitHub Sponsors](https://github.com/rmsramos)[ RSS](/packages/rmsramos-change-user/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (2)Dependencies (8)Versions (3)Used By (0)

Filament Change User
====================

[](#filament-change-user)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d2e80cc9aaf8a51aa6e8b9d201e548db522f0c2c880914e412ec457f55422ff7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726d7372616d6f732f6368616e67652d757365722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rmsramos/change-user)[![Fix PHP Code Styling](https://github.com/rmsramos/change-user/actions/workflows/fix-php-code-style-issues.yml/badge.svg)](https://github.com/rmsramos/change-user/actions/workflows/fix-php-code-style-issues.yml)[![Total Downloads](https://camo.githubusercontent.com/772412a029cd2ee2374c72e8abe7c5b7d988d5b6cba99f358606e3d80ed2dc31/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726d7372616d6f732f6368616e67652d757365722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rmsramos/change-user/stats)

Filament plugin to change users without having to leave the panel

[![Screenshot of Application Feature](https://raw.githubusercontent.com/rmsramos/change-user/main/arts/cover.png)](https://raw.githubusercontent.com/rmsramos/change-user/main/arts/cover.png)

Supported languages
-------------------

[](#supported-languages)

Change User Plugin is translated for :

- 🇧🇷 Brazilian Portuguese
- 🇺🇸 English
- 🇪🇸 Spanish

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require rmsramos/change-user
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="change-user-views"
```

Usage
-----

[](#usage)

In your Panel ServiceProvider (App\\Providers\\Filament) active the plugin

Add the `Rmsramos\ChangeUser\ChangeUserPlugin` to your panel config

```
use Rmsramos\ChangeUser\ChangeUserPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            ChangeUserPlugin::make(),
        ]);
}
```

If you would like to prevent certain users from accessing the change user, you should add a `showButton()` callback in the `ChangeUserPlugin` chain.

```
use Rmsramos\ChangeUser\ChangeUserPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            ChangeUserPlugin::make()
                ->showButton(fn () => auth()->user()->id === 1),
        ]);
}
```

You can swap out the modal heading used by updating the `setModalHeading()` value.

```
use Rmsramos\ChangeUser\ChangeUserPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            ChangeUserPlugin::make()
                ->setModalHeading('Another modal heading'),
        ]);
}
```

You can swap out the modal icon used by updating the `setIcon()` value.

```
use Rmsramos\ChangeUser\ChangeUserPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            ChangeUserPlugin::make()
                ->setIcon('heroicon-o-finger-print'),
        ]);
}
```

Full configuration
------------------

[](#full-configuration)

```
use Rmsramos\ChangeUser\ChangeUserPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            ChangeUserPlugin::make()
                ->showButton(fn () => auth()->user()->id === 1)
                ->setModalHeading('Another modal heading')
                ->setIcon('heroicon-o-finger-print'),
        ]);
}
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Rômulo Ramos](https://github.com/rmsramos)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

741d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5170473?v=4)[Rômulo Ramos](/maintainers/rmsramos)[@rmsramos](https://github.com/rmsramos)

---

Top Contributors

[![rmsramos](https://avatars.githubusercontent.com/u/5170473?v=4)](https://github.com/rmsramos "rmsramos (22 commits)")[![edeoliv](https://avatars.githubusercontent.com/u/76831154?v=4)](https://github.com/edeoliv "edeoliv (1 commits)")

---

Tags

laravelRmsramoschange-user

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/rmsramos-change-user/health.svg)

```
[![Health](https://phpackages.com/badges/rmsramos-change-user/health.svg)](https://phpackages.com/packages/rmsramos-change-user)
```

###  Alternatives

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

84215.9k9](/packages/stephenjude-filament-two-factor-authentication)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

6649.5k1](/packages/marcelweidum-filament-passkeys)[solution-forest/filament-email-2fa

filament-email-2fa

3211.0k](/packages/solution-forest-filament-email-2fa)[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

122177.8k1](/packages/stephenjude-filament-feature-flags)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
