Download the PHP package aryehraber/statamic-impersonator without Composer

On this page you can find all versions of the php package aryehraber/statamic-impersonator. 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 statamic-impersonator

[!NOTE] This addon has been archived since impersonating users was added to Statamic core in v4.23.0


Impersonator

Give Admins the ability to authenticate as any user for easier debugging.

Installation

Install the addon via composer:

Publish the config file (optional):

After installation, all Super Admins will see a new Impersonator utility listed under Tools > Utilities. Regular CP users can also be given access, but will require the "Impersonator" permission to be activated for their User Role.

Usage

Simply navigate to Tools > Utilities > Impersonator, select the user that you want to authenticate as and click "Go". This will authenticate you as the selected user and automatically redirect you to the CP Dashboard, or the Homepage if the user doesn't have CP access.

You are now free to do what you need as this user to debug or give support regarding an issue.

Once finished, you can easily return back to your own account by clicking the "Back to my account" link:

If either of these doesn't work as expected, you should manually log out and log back in as yourself.

Tags

{{ impersonator:active }}

This tag allows you to check whether the current user is in an active Impersonation session, this can be useful to conditionally show/hide content.

Examples:

Show the terminate link to Impersonators only:

Hide sensitive information from Impersonators:


{{ impersonator:terminate }}

This tag outputs the action URL to terminate the Impersonation session, this can be useful if the inject_terminate_link config option has been set to false.

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.


All versions of statamic-impersonator with dependencies

PHP Build Version
Package Version
Requires statamic/cms Version ^3.0|^4.0
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 aryehraber/statamic-impersonator contains the following files

Loading the files please wait ....