https://github.com/defstudio/impersonator
https://github.com/defstudio/impersonator
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/defstudio/impersonator
- Owner: defstudio
- License: mit
- Created: 2022-03-15T11:35:20.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-27T02:57:09.000Z (over 1 year ago)
- Last Synced: 2025-03-29T11:11:39.513Z (about 1 year ago)
- Language: PHP
- Size: 84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
[
](https://supportukrainenow.org)
# Easily impersonate another user for debugging purpose
[](https://packagist.org/packages/defstudio/impersonator)
[](https://github.com/defstudio/impersonator/actions?query=workflow%3Arun-tests+branch%3Amain)
[](https://github.com/defstudio/impersonator/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain)
[](https://github.com/defstudio/impersonator/actions?query=workflow%3A"PHPStan"+branch%3Amain)
[](https://packagist.org/packages/defstudio/impersonator)
## Installation
You can install the package via composer:
```bash
composer require defstudio/impersonator
```
You can publish the config file with:
```bash
php artisan vendor:publish --tag="impersonator-config"
```
## Tailwind css
Impersonator use tailwind css to render its view, consider adding `'./vendor/defstudio/impersonator/**/*.blade.php'` to your `tailwind.config.js` file
```javascript
module.exports = {
content: [
//..
'./vendor/defstudio/impersonator/**/*.blade.php',
],
//..
}
```
## Testing
```bash
composer test
```
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Fabio Ivona](https://github.com/def-studio)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.