PHPackages                             mageplaza/module-login-as-customer - 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. mageplaza/module-login-as-customer

AbandonedArchivedMagento2-module[Authentication &amp; Authorization](/categories/authentication)

mageplaza/module-login-as-customer
==================================

Magento 2 Login As Customer Extension

4.0.3(4y ago)21267.7k↓11.4%121proprietaryPHP

Since Jan 10Pushed 3y ago7 watchersCompare

[ Source](https://github.com/mageplaza/magento-2-login-as-customer)[ Packagist](https://packagist.org/packages/mageplaza/module-login-as-customer)[ RSS](/packages/mageplaza-module-login-as-customer/feed)WikiDiscussions 2.4 Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (16)Used By (1)

Magento 2 Login As Customer extension FREE
==========================================

[](#magento-2-login-as-customer-extension-free)

> **(Update) 2023-03-09**: This project will be marked as a paid item and no longer be maintained as free. For further updates and technical support, please follow [Magento 2 Backend Tools](https://www.mageplaza.com/magento-2-backend-tools/) for more information. We understand that this change might create inconvenience for our users. However, this is to ensure that the module will be updated with more useful features to support Magento 2 stores better. If you have any concerns or ideas about any features you would like to see, don’t hesitate to [contact us](https://www.mageplaza.com/support/) and leave a request.

[Magento 2 Login as Customer by Mageplaza](https://www.mageplaza.com/magento-2-login-as-customer/) supports the store admin to login to customers' account and automatically save that login data. In many cases, customers face some difficulty or inconvenience in My Account page, or right in the checkout step. Login as Customer module will be a great solution for such these circumstances. The store can have a quick view after access as a customer, as a result, this can save a significant amount of time for both administrator and customers.

1. Documentation
----------------

[](#1-documentation)

- Installation guide:
- User guide:
- Introduction page:
- Contribute on Github:
- Get Support:

2. Login as Customer FAQs
-------------------------

[](#2-login-as-customer-faqs)

**Q: I got error: Mageplaza\_Core has been already defined**

A: Read solution:

**Q: I am a store administrator, how can I access a customer’s account?**

A: You can quickly login customer’s account to get information from Order View and Customer View right on the admin backend.

**Q: I am a store owner, my store site has many admin accounts. How can I manage customers' login history?**

A: Magento 2 Login as Customer extension allows store owners to view access history. On the backend, please navigate `Report > Customer > Login as Customer Logs`.

**Q: Is it possible to export logs data to save daily?**

A: Yes, it is totally possible. From the report logs, you can hit the Export button and select the exported CSV or XML file.

3. How to install Magento 2 Login as Customer extension
-------------------------------------------------------

[](#3-how-to-install-magento-2-login-as-customer-extension)

- Install via composer (recommend)
- Run the following command in Magento 2 root folder:

With Marketing Automation (recommend):

```
composer require mageplaza/module-login-as-customer mageplaza/module-smtp
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

```

Without Marketing Automation:

```
composer require mageplaza/module-login-as-customer
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

```

4. Login as Customer highlight features
---------------------------------------

[](#4-login-as-customer-highlight-features)

### Instantly access to any customer account

[](#instantly-access-to-any-customer-account)

One of the most noticeable features of **M2 Login as Customer extension** is that the store admin can log in a customer’s account to take some necessary actions.

[![Magento 2  Instantly access to any customer account ](https://camo.githubusercontent.com/e56b58144cd1233a868e43b1f9a9bfbab9b638a58e8398dd75f9a8e150f49771/68747470733a2f2f692e696d6775722e636f6d2f776a78416f76722e706e67)](https://camo.githubusercontent.com/e56b58144cd1233a868e43b1f9a9bfbab9b638a58e8398dd75f9a8e150f49771/68747470733a2f2f692e696d6775722e636f6d2f776a78416f76722e706e67)

#### Easy access from convenient places

[](#easy-access-from-convenient-places)

On the Magento 2 backend, the admin can quickly access the account of any customer by selecting between **Order View** and **Customer View** options. Right here, there are two important places, in which all information of customers and orders is continuously updated. Hence, **Login as Customer** link is placed here, to support admins in accessing quickly and conveniently, without any difficulty.

#### Only one click to access all information needed

[](#only-one-click-to-access-all-information-needed)

On the pages mentioned, with only one click on the **Login as Customer** button, the admin will be redirected instantly to customers’ account with full actual information such as my dashboard, order information, account information, etc. With **Magento 2 Login as Customer module**, it is not only easy to access but is also possible to edit or make any updates in the blink of an eye.

### Record login history

[](#record-login-history)

[![Magento 2 Login as Customer module](https://camo.githubusercontent.com/9791adf30be9699dff24247ab5eae36cadcdb4df995037e04220d3ce292b7ad2/68747470733a2f2f692e696d6775722e636f6d2f557667357154412e706e67)](https://camo.githubusercontent.com/9791adf30be9699dff24247ab5eae36cadcdb4df995037e04220d3ce292b7ad2/68747470733a2f2f692e696d6775722e636f6d2f557667357154412e706e67)

#### Continually record every login attempt

[](#continually-record-every-login-attempt)

Any access to customers' account can be recorded exactly in **Login as Customer Logs section on the backend**. There is a report here, which provides all access information, including date and time, customer account, admin account.

#### Manage and track customer/order information easily

[](#manage-and-track-customerorder-information-easily)

In case a store has multiple admin accounts, the access report mentioned above is potential for the store owner. It effectively supports managing and tracking every single admins' login as customer attempt. Furthermore, deleting or editing any data is not allowed on this report. As a result, it is definite that the admin will always be updated about any changes related to customers, and is able to avoid unexpected ill-intentioned access as well.

### Export login logs function

[](#export-login-logs-function)

**Mageplaza Login as Customer module for Magento 2** also support the export function. On the report log, the administrator can easily export login data so that they can save those data on the daily or monthly basis with ease. By this way, it is easy to store the login records, then use for login information management or any other specific purposes.

The most common-used exported file formats are CSV and Excel XML.

[![Mageplaza Login as Customer module for Magento 2](https://camo.githubusercontent.com/645e78ced477836e4878b17299660ff0fd0c1c89d588449615cf8147631cfc03/68747470733a2f2f692e696d6775722e636f6d2f6e6c67544d626d2e706e67)](https://camo.githubusercontent.com/645e78ced477836e4878b17299660ff0fd0c1c89d588449615cf8147631cfc03/68747470733a2f2f692e696d6775722e636f6d2f6e6c67544d626d2e706e67)

5. Full Magento 2 Login as Customer Features
--------------------------------------------

[](#5-full-magento-2-login-as-customer-features)

### For admins

[](#for-admins)

- Enable/disable the extension
- Login as customer from Order View
- Login as customer from Customer View
- Easily view and track recorded login access
- Possible to export login data to CSV or Excel XML

### For customers

[](#for-customers)

- Quickly get support from the store’s admins in editing order information or customer information
- Save time and effort to edit information, accordingly, have a better shopping experience

6. How to configure Magento 2 Login as Customer
-----------------------------------------------

[](#6-how-to-configure-magento-2-login-as-customer)

### 6.1.Configuration

[](#61configuration)

From **Admin panel**, go to `Stores > Configuration > Mageplaza > Login as Customer`

[![How to configure Login as Customer extension](https://camo.githubusercontent.com/057137ff60590c4264f30d47570349e9663f7ad50aef2f7326eb2eb827e38def/68747470733a2f2f692e696d6775722e636f6d2f73376a45365a722e706e67)](https://camo.githubusercontent.com/057137ff60590c4264f30d47570349e9663f7ad50aef2f7326eb2eb827e38def/68747470733a2f2f692e696d6775722e636f6d2f73376a45365a722e706e67)

- Select **Enable = Yes**:

    - Activate the module. Then, admin can log in customer’s account from the admin backend.
    - `Login as Customer` button will be displayed on Customer View and Order View sections from admin backend.
- **Customer Edit**

[![How to configure Magento 2 Login as Customer](https://camo.githubusercontent.com/3866e79b0e286bef0a637902dda1965cec6cdc206460454d37ef31ea6654bf14/68747470733a2f2f692e696d6775722e636f6d2f59516e6937447a2e706e67)](https://camo.githubusercontent.com/3866e79b0e286bef0a637902dda1965cec6cdc206460454d37ef31ea6654bf14/68747470733a2f2f692e696d6775722e636f6d2f59516e6937447a2e706e67)

- **Order View**

[![How to configure Login as Customer module](https://camo.githubusercontent.com/406e8269506d3add4ef2181ceafe7b3792c97fd371cd8c81073790cf2f680119/68747470733a2f2f692e696d6775722e636f6d2f706453336b6f702e706e67)](https://camo.githubusercontent.com/406e8269506d3add4ef2181ceafe7b3792c97fd371cd8c81073790cf2f680119/68747470733a2f2f692e696d6775722e636f6d2f706453336b6f702e706e67)

### 6.2. Login as Customer Logs

[](#62-login-as-customer-logs)

From **Admin panel**, select `Report > Customer > Login as Customer Logs`

- Any access from any admin account will be recorded
- Not allowed to delete or edit any information on this log history
- Admin can export any log to CSV or XML files

[![Magento 2 Login as Customer Logs](https://camo.githubusercontent.com/b97ddaf1751c580b11b43976585123479c726ddf7698a220dcfe1c4532a3e523/68747470733a2f2f692e696d6775722e636f6d2f436f6543787a6f2e706e67)](https://camo.githubusercontent.com/b97ddaf1751c580b11b43976585123479c726ddf7698a220dcfe1c4532a3e523/68747470733a2f2f692e696d6775722e636f6d2f436f6543787a6f2e706e67)

**People also search:**

- magento 2 login as customer
- login as customer magento 2
- magento 2 login as customer extension
- mageplaza login as customer
- mageplaza login as customer magento 2
- magento 2 login to your customer account
- login as customer magento 2

**Other free extension on Github**

- [Magento 2 SEO](https://github.com/mageplaza/magento-2-seo)
- [magento 2 Google Maps](https://github.com/mageplaza/magento-2-google-maps)
- [Magento 2 Delete Orders](https://github.com/mageplaza/magento-2-delete-orders)
- [Magento 2 GDPR Free](https://github.com/mageplaza/magento-2-gdpr)
- [Magento 2 blog](https://github.com/mageplaza/magento-2-blog)
- [Magento 2 Same Order Number](https://github.com/mageplaza/magento-2-same-order-number)
- [Magento 2 Layered Navigation](https://github.com/mageplaza/magento-2-ajax-layered-navigation)
- [Magento 2 security](https://github.com/mageplaza/magento-2-security)

**Get more [Magento 2 extension on Marketplace](https://marketplace.magento.com/partner/Mageplaza):**

- [Magento 2 Configurable Product Preselect](https://marketplace.magento.com/mageplaza-module-configurable-product-grid-view.html)
- [Magento 2 Payment Restriction](https://marketplace.magento.com/mageplaza-module-payment-restriction.html)
- [Magento 2 Frequently Bought Together](https://marketplace.magento.com/mageplaza-module-frequently-bought-together.html)
- [Magento 2 Shipping Rules](https://marketplace.magento.com/mageplaza-module-shipping-rules.html)
- [Magento 2 Abandoned Cart Email](https://marketplace.magento.com/mageplaza-module-abandoned-cart-email.html)
- [Magento 2 SMTP](https://marketplace.magento.com/mageplaza-module-smtp.html)
- [Magento 2 Shipping Restrictions](https://marketplace.magento.com/mageplaza-module-shipping-restriction.html)
- [Magento 2 Multiple Coupons](https://marketplace.magento.com/mageplaza-module-multiple-coupons.html)
- [Magento 2 Order Attributes](https://marketplace.magento.com/mageplaza-module-order-attributes.html)
- [Magento 2 Barcode](https://marketplace.magento.com/mageplaza-module-barcode.html)

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 54.9% 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 ~126 days

Recently: every ~142 days

Total

13

Last Release

1167d ago

Major Versions

1.0.4 → 4.0.02021-03-23

1.0.5 → 4.0.22021-08-16

1.0.6 → 2.4.x-dev2023-03-09

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2810172?v=4)[Sam Ng](/maintainers/imsamthomas)[@imsamthomas](https://github.com/imsamthomas)

![](https://www.gravatar.com/avatar/791d20a969b428c77a439388be23f94f3ce34d9cbc8ecd09bfccdb7e41b5d7ca?d=identicon)[haitv282](/maintainers/haitv282)

---

Top Contributors

[![brianmageplaza](https://avatars.githubusercontent.com/u/7621931?v=4)](https://github.com/brianmageplaza "brianmageplaza (28 commits)")[![Shinichi69](https://avatars.githubusercontent.com/u/56379117?v=4)](https://github.com/Shinichi69 "Shinichi69 (7 commits)")[![imsamthomas](https://avatars.githubusercontent.com/u/2810172?v=4)](https://github.com/imsamthomas "imsamthomas (5 commits)")[![haonv01](https://avatars.githubusercontent.com/u/34636961?v=4)](https://github.com/haonv01 "haonv01 (3 commits)")[![DHT-Uri](https://avatars.githubusercontent.com/u/54830040?v=4)](https://github.com/DHT-Uri "DHT-Uri (2 commits)")[![phutx](https://avatars.githubusercontent.com/u/72056266?v=4)](https://github.com/phutx "phutx (2 commits)")[![thaimageplaza](https://avatars.githubusercontent.com/u/40683842?v=4)](https://github.com/thaimageplaza "thaimageplaza (2 commits)")[![Rainy234](https://avatars.githubusercontent.com/u/42835440?v=4)](https://github.com/Rainy234 "Rainy234 (1 commits)")[![datvm1](https://avatars.githubusercontent.com/u/35990443?v=4)](https://github.com/datvm1 "datvm1 (1 commits)")

### Embed Badge

![Health badge](/badges/mageplaza-module-login-as-customer/health.svg)

```
[![Health](https://phpackages.com/badges/mageplaza-module-login-as-customer/health.svg)](https://phpackages.com/packages/mageplaza-module-login-as-customer)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[mageplaza/module-google-recaptcha

Magento 2 Google Recaptcha Extension

341.1M2](/packages/mageplaza-module-google-recaptcha)

PHPackages © 2026

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