PHPackages                             defstudio/impersonator - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. defstudio/impersonator

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

defstudio/impersonator
======================

Easily impersonate another user for debugging purpose

v1.2.0(1y ago)15.7k↓76.9%[1 PRs](https://github.com/defstudio/impersonator/pulls)MITPHPPHP ^8.0CI passing

Since Mar 15Pushed 1w ago2 watchersCompare

[ Source](https://github.com/defstudio/impersonator)[ Packagist](https://packagist.org/packages/defstudio/impersonator)[ Docs](https://github.com/defstudio/impersonator)[ GitHub Sponsors](https://github.com/defstudio)[ RSS](/packages/defstudio-impersonator/feed)WikiDiscussions main Synced yesterday

READMEChangelog (6)Dependencies (12)Versions (10)Used By (0)

[![](https://camo.githubusercontent.com/2bedf63f24cda7efab02da955dc11fb7ef8a060e2f26b73c33a7aac84529b8a3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f737570706f72742d756b7261696e652e7376673f743d31)](https://supportukrainenow.org)

Easily impersonate another user for debugging purpose
=====================================================

[](#easily-impersonate-another-user-for-debugging-purpose)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e3876b3eaf6cf68f3f640dfb66ab13c6e433806c4745984f68244e0c1eebbda0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64656673747564696f2f696d706572736f6e61746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/defstudio/impersonator)[![GitHub Tests Action Status](https://camo.githubusercontent.com/d9c7c14a41102aac98007ba548b0f0386fd7ea191aeadfd0ac601f835e3a90dd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64656673747564696f2f696d706572736f6e61746f722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473)](https://github.com/defstudio/impersonator/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/f946179025ecbff33cf0a978737e9d4b87e1243cdd841a14f669cd4d7cdc1560/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64656673747564696f2f696d706572736f6e61746f722f7068702d63732d66697865722e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65)](https://github.com/defstudio/impersonator/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Static Analysis Action Status](https://camo.githubusercontent.com/fc628e824981942a02e9aec5eb6dafdfafc7698a0d9f21c4f97c5752f9498d8a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64656673747564696f2f696d706572736f6e61746f722f7068707374616e2e796d6c3f6272616e63683d6d61696e266c6162656c3d737461746963253230616e616c79736973)](https://github.com/defstudio/impersonator/actions?query=workflow%3A%22PHPStan%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/a20fd9f565ce9923ba79aba571f374126c34624710ca004410aa060360520c76/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64656673747564696f2f696d706572736f6e61746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/defstudio/impersonator)

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

[](#installation)

You can install the package via composer:

```
composer require defstudio/impersonator
```

You can publish the config file with:

```
php artisan vendor:publish --tag="impersonator-config"
```

Tailwind css
------------

[](#tailwind-css)

Impersonator use tailwind css to render its view, consider adding `'./vendor/defstudio/impersonator/**/*.blade.php'` to your `tailwind.config.js` file

```
module.exports = {
    content: [
        //..
        './vendor/defstudio/impersonator/**/*.blade.php',
    ],
    //..
}
```

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)

- [Fabio Ivona](https://github.com/def-studio)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance75

Regular maintenance activity

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 57.4% 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 ~232 days

Recently: every ~198 days

Total

6

Last Release

410d ago

Major Versions

v0.0.1 → v1.0.02023-03-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/db5e0ab5568062368a52c61d67381c1a35be5e5c816968dd3883bc7ba2d46b53?d=identicon)[fabio.ivona](/maintainers/fabio.ivona)

---

Top Contributors

[![fabio-ivona](https://avatars.githubusercontent.com/u/8792274?v=4)](https://github.com/fabio-ivona "fabio-ivona (54 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (26 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (14 commits)")

---

Tags

laraveldefstudioimpersonator

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/defstudio-impersonator/health.svg)

```
[![Health](https://phpackages.com/badges/defstudio-impersonator/health.svg)](https://phpackages.com/packages/defstudio-impersonator)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.3k3](/packages/defstudio-telegraph)[stephenjude/filament-debugger

About

104162.2k2](/packages/stephenjude-filament-debugger)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)

PHPackages © 2026

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