PHPackages                             magenxcommerce/module-persistent - 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. magenxcommerce/module-persistent

ActiveMagento2-module

magenxcommerce/module-persistent
================================

N/A

100.4.3(4y ago)01091OSL-3.0PHPPHP ~7.3.0||~7.4.0

Since Oct 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/magenxcommerce/module-persistent)[ Packagist](https://packagist.org/packages/magenxcommerce/module-persistent)[ RSS](/packages/magenxcommerce-module-persistent/feed)WikiDiscussions default Synced 1w ago

READMEChangelog (10)Dependencies (7)Versions (59)Used By (1)

Magento\_Persistent module
==========================

[](#magento_persistent-module)

This module enables setting a long-term cookie containing internal id (random hash - to exclude brute force) of persistent session for customer. Persistent session data is kept in DB - so it's not deleted in some days and is kept for as much time as we need. DB session keeps customerId + some data from real customer session that we want to sync (e.g. num items in shopping cart). For registered customer this info is synced to persistent session if choose "Remember me" checkbox during first login.

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

[](#installation)

Before installing this module, note that the Magento\_Persistent is dependent on the following modules:

- `Magento_Checkout`
- `Magento_PageCache`

The Magento\_Persistent module creates the `persistent_session` table in the database.

This module modifies the following tables in the database:

- `quote` - adds column `is_persistent`

All database schema changes made by this module are rolled back when the module gets disabled and setup:upgrade command is run.

For information about a module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).

Extensibility
-------------

[](#extensibility)

Extension developers can interact with the Magento\_Persistent module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).

[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento\_Persistent module.

A lot of functionality in the module is on JavaScript, use [mixins](https://devdocs.magento.com/guides/v2.4/javascript-dev-guide/javascript/js_mixins.html) to extend it.

### Events

[](#events)

The module dispatches the following events:

#### Controller

[](#controller)

- `persistent_session_expired` event in the `\Magento\Persistent\Controller\Index\UnsetCookie::execute` method

#### Observer

[](#observer)

- `persistent_session_expired` event in the `\Magento\Persistent\Observer\CheckExpirePersistentQuoteObserver::execute` method

For information about an event in Magento 2, see [Events and observers](http://devdocs.magento.com/guides/v2.4/extension-dev-guide/events-and-observers.html#events).

### Layouts

[](#layouts)

For more information about a layout in Magento 2, see the [Layout documentation](https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/layouts/layout-overview.html).

Additional information
----------------------

[](#additional-information)

More information can get at articles:

- [Persistent Shopping Cart](https://docs.magento.com/user-guide/configuration/customers/persistent-shopping-cart.html)
- [Persistent Cart](https://docs.magento.com/user-guide/sales/cart-persistent.html)

### Cron options

[](#cron-options)

Cron group configuration can be set at `etc/crontab.xml`:

- `persistent_clear_expired` - clear expired persistent sessions

[Learn how to configure and run cron in Magento.](http://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands-cron.html).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity64

Established project with proven stability

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 ~0 days

Total

46

Last Release

1671d ago

Major Versions

2.4.0.x-dev → 100.3.0.x-dev2021-10-13

2.3.0.x-dev → 100.3.12021-10-13

2.3.1.x-dev → 100.3.1.x-dev2021-10-13

2.3.2.x-dev → 100.3.22021-10-13

2.3.7.x-dev → 100.4.32021-10-20

PHP version history (7 changes)2.4.3.x-devPHP ~7.3.0||~7.4.0

100.3.0.x-devPHP ~7.1.3||~7.2.0

2.3.3.x-devPHP ~7.1.3||~7.2.0||~7.3.0

100.2.7PHP ~7.0.13||~7.1.0||~7.2.0

100.2.6PHP ~7.0.13|~7.1.0|~7.2.0

100.2.4.x-devPHP ~7.0.13|~7.1.0

100.1.6.x-devPHP ~5.6.5|7.0.2|7.0.4|~7.0.6|~7.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/652aa98d25f6bb0dbacf7a805a9110b66e83d8222c60ca2d1b20fa31782a81d3?d=identicon)[magenxcommerce](/maintainers/magenxcommerce)

### Embed Badge

![Health badge](/badges/magenxcommerce-module-persistent/health.svg)

```
[![Health](https://phpackages.com/badges/magenxcommerce-module-persistent/health.svg)](https://phpackages.com/packages/magenxcommerce-module-persistent)
```

PHPackages © 2026

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