PHPackages                             mbissonho/module-remember-admin-last-page - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mbissonho/module-remember-admin-last-page

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

mbissonho/module-remember-admin-last-page
=========================================

This module allow a admin user to come back to the same page(order, customer or config management) when it's session expires.

1.1.0(1mo ago)102.4k↑73.7%1Apache-2.0PHPPHP &gt;=7.4 &lt;8.6CI passing

Since Feb 2Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/mbissonho/remember-admin-last-page-magento2)[ Packagist](https://packagist.org/packages/mbissonho/module-remember-admin-last-page)[ RSS](/packages/mbissonho-module-remember-admin-last-page/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (3)Dependencies (7)Versions (5)Used By (0)

Remember Admin Last Page Magento 2 module
=========================================

[](#remember-admin-last-page-magento-2-module)

[![Latest Stable Version](https://camo.githubusercontent.com/e1efa40b12525e008756df454e599d88d7a2bb8cfec4e5290c8efae02ba35ded/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d626973736f6e686f2f6d6f64756c652d72656d656d6265722d61646d696e2d6c6173742d706167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mbissonho/module-remember-admin-last-page)[![Packagist Downloads](https://camo.githubusercontent.com/0b0b0132deac71293d72028d85435ee3746f0c0a7d16754a3c23f380b6a2e892/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d626973736f6e686f2f6d6f64756c652d72656d656d6265722d61646d696e2d6c6173742d706167653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mbissonho/module-remember-admin-last-page)[![Packagist Downloads](https://camo.githubusercontent.com/4d81e0b38fbfc4527b5c45754e1e0f240a6e23b326b5fd423a8885d8addef837/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6d626973736f6e686f2f6d6f64756c652d72656d656d6265722d61646d696e2d6c6173742d706167653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mbissonho/module-remember-admin-last-page)

This module allows an admin user to come back to the same page (order, customer or config management) when their session expires.

On top of that, the resume notification can optionally **hint which record** the saved page was about — for example *"Customer — Name: J•h• S•i•h, Email: c•s•o•e•@e•a•p•e.com"* — so the admin can decide whether returning to the tab is worth it before clicking, instead of jumping to a page they no longer need.

Prerequisites
-------------

[](#prerequisites)

- Magento Open Source version 2.4.x
- PHP 7.4 – 8.5. PHP **8.2+ is recommended**: earlier versions are past their active-support window under Adobe Commerce's [lifecycle policy](https://experienceleague.adobe.com/en/docs/commerce-operations/release/planning/lifecycle-policy).

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

[](#installation)

This module can be installed via composer:

```
composer require mbissonho/module-remember-admin-last-page
```

After the installation, run:

```
./bin/magento setup:upgrade && ./bin/magento setup:di:compile
```

Get Started
-----------

[](#get-started)

After installation, activate the module under: ***Stores -&gt; Configuration -&gt; Advanced -&gt; Admin -&gt; Remember Admin Last Page.***

Relevant settings there:

- **Enabled** — turns the whole feature on.
- **Enable notification message** — shows the "resume your last page" notification.
- **Show entity details on notification** — *off by default.* When on (and the notification is on), the notification also shows masked details of the record the saved page was about.

How it works
------------

[](#how-it-works)

When an admin's session expires, the module records the last page they were on and, right after they sign back in, takes them straight back to it — no need to navigate back to the order, customer or configuration screen they were editing.

[![Automatic redirect back to the last page after signing in](.assets/how-it-works.gif)](.assets/how-it-works.gif)

Once a tab's session has expired, the login page greets the admin with a short, **configurable notification** — *"You can come back to your last accessed page if sign in"* by default — so it is immediately clear that this tab can simply restore where they left off, rather than looking like a plain, dead login screen.

[![Initial notification on the login page telling the admin the session can restore their last page](.assets/resume-last-page-notification-card.png)](.assets/resume-last-page-notification-card.png)

### Entity preview on the login screen

[](#entity-preview-on-the-login-screen)

The login-page notification can go one step further and preview **which record** the remembered page was about. This is the *entity preview* mechanism: from the saved URL the module detects the entity type (order, customer, product, …), resolves the matching record and renders a compact card with its key fields — always **masked** — next to a *Go to the page* shortcut, so the admin can tell whether returning to that tab is still worth it instead of jumping to a page they no longer need.

For security, the preview details are only resolved and shown when the user is **already signed in elsewhere** — typically because they re-authenticated in another tab and this expired tab is still on the login screen. If there is no active authenticated admin session, the card stays hide: the module never discloses record details to an unauthenticated user.

[![Entity preview card shown on the login page, with masked customer details](.assets/entity-preview.png)](.assets/entity-preview.png)

Entity details &amp; extending
------------------------------

[](#entity-details--extending)

The entity preview shown above is extensible: you can teach it about your own entity types, change which fields it displays and how each value is masked. These topics live in dedicated docs:

- **[Entity details on the notification](docs/entity-details.md)** — how the masked preview works and the architecture behind it (detectors, resolvers, formatters, masking).
- **[Tutorial: show details for a new entity type](docs/tutorial-new-entity-type.md)**— step-by-step guide to support a new admin edit page (CMS Pages worked example).
- **[Recipes](docs/recipes.md)** — add/change fields for a bundled type and change how values are masked.

Testing locally before pushing
------------------------------

[](#testing-locally-before-pushing)

The repository ships CI workflows (integration + Playwright e2e) that also run locally via [`act`](https://github.com/nektos/act). See **[Testing locally before pushing](docs/testing-locally.md)** for the full guide, including the `act` integration-tests workaround.

Maintainers
-----------

[](#maintainers)

- [Mateus Bissonho](https://github.com/mbissonho)

License
-------

[](#license)

[Apache 2.0](https://github.com/mbissonho/remember-admin-last-page-magento2/blob/main/LICENSE.md)

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance94

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~443 days

Total

3

Last Release

31d ago

Major Versions

0.1.0 → 1.0.02025-03-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/c2a74d88e36f3e86bd5ca53b27d36419cd02424b3b3464c1373c0168b8769570?d=identicon)[mbissonho](/maintainers/mbissonho)

---

Top Contributors

[![mbissonho](https://avatars.githubusercontent.com/u/25405618?v=4)](https://github.com/mbissonho "mbissonho (53 commits)")

---

Tags

automated-testinge2e-testsmagento-adminmagento-admin-configmagento2magento2-extensionmagento2-extension-freemagento2-extensionsmagento2-modulemagento2-module-freeplaywrightplaywright-demoplaywright-javascriptplaywright-tests

### Embed Badge

![Health badge](/badges/mbissonho-module-remember-admin-last-page/health.svg)

```
[![Health](https://phpackages.com/badges/mbissonho-module-remember-admin-last-page/health.svg)](https://phpackages.com/packages/mbissonho-module-remember-admin-last-page)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1142.0M17](/packages/mollie-magento2)[buckaroo/magento2

Buckaroo Magento 2 extension

32426.0k8](/packages/buckaroo-magento2)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

69362.0k](/packages/run-as-root-magento2-prometheus-exporter)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1015.1k27](/packages/loki-magento2-components)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50406.2k23](/packages/dotdigital-dotdigital-magento2-extension)[loki/magento2-admin-components

Admin Panel grids and forms created via Loki Components

178.3k9](/packages/loki-magento2-admin-components)

PHPackages © 2026

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