Download the PHP package xlite-dev/filament-impersonate without Composer

On this page you can find all versions of the php package xlite-dev/filament-impersonate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-impersonate

Filament Account Switcher

![Filament Account Switcher — switch accounts, never sign out](https://raw.githubusercontent.com/packstub/art/main/filament-account-switcher/banner.jpg) [![Latest Version on Packagist](https://img.shields.io/packagist/v/packstub/filament-account-switcher.svg?style=flat-square)](https://packagist.org/packages/packstub/filament-account-switcher) [![Tests](https://img.shields.io/github/actions/workflow/status/packstub/filament-account-switcher/tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/packstub/filament-account-switcher/actions/workflows/tests.yml) [![Total Downloads](https://img.shields.io/packagist/dt/packstub/filament-account-switcher.svg?style=flat-square)](https://packagist.org/packages/packstub/filament-account-switcher) [![License](https://img.shields.io/packagist/l/packstub/filament-account-switcher.svg?style=flat-square)](https://github.com/packstub/filament-account-switcher/blob/main/LICENSE.md) [![Listed on filamentphp.com](https://img.shields.io/badge/filamentphp.com-listed-fb7185?style=flat-square&logo=filament&logoColor=white)](https://filamentphp.com/plugins/packstub-account-switcher) [![Sponsor](https://img.shields.io/badge/sponsor-%E2%9D%A4-ea4aaa?style=flat-square&logo=githubsponsors&logoColor=white)](https://github.com/sponsors/icaliman)

Switch between accounts in a Filament panel without signing out — safely, in production.

Features

Formerly xlite-dev/filament-impersonate — see the upgrade guide.

Compatibility

Plugin Filament Laravel PHP
4.x 4.x, 5.x 12.x, 13.x 8.2+
3.x (xlite-dev/filament-impersonate) 4.x, 5.x 9.x – 12.x 8.1+

Installation

Add the trait to your user model and the plugin to your panel:

Full walkthrough: Installation.

Linked accounts

Link the accounts one person owns. A Switch to menu next to the user menu lists them with their label and e-mail.

The Switch to menu listing the linked accounts

Switching down to a lower-privilege account is one click. Switching up asks for the target account's password, so a compromised daily session can never reach the admin account on its own.

Switching up to the admin account asks for its password

The Linked accounts page (in the user menu) links an existing account, creates a sub-account, renames links and sets the per-link password rule.

The Linked accounts page

Read more: Linked accounts · Security model.

Impersonation

Drop ImpersonateAction into your users table or a page header. It is hidden for records the current user may not impersonate, based on canImpersonate() / canBeImpersonated() on your model.

The Impersonate action on each row of the users table

While impersonating, a banner stays visible on every page with a Switch back button.

The impersonation banner with a Switch back button

Read more: Impersonation.

Developer logins

One-click sign-in for the accounts you seed, shown under the login form. They only render in the environments listed in the config (local by default), whatever the panel says.

Developer login buttons under the login form

Read more: Developer logins.

Configuration

Read more: Configuration — the config file, events, the switch log and the AccountSwitcher facade.

Documentation

The same pages live in the docs/ directory of this repository.

Testing

Changelog

See the changelog.

Security vulnerabilities

Please e-mail [email protected] rather than opening a public issue.

Credits

License

MIT. See the license file.


All versions of filament-impersonate with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^4.0 || ^5.0
illuminate/contracts Version ^12.0 || ^13.0
spatie/laravel-package-tools Version ^1.92
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package xlite-dev/filament-impersonate contains the following files

Loading the files please wait ...