PHPackages                             test-magenx/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. [Caching](/categories/caching)
4. /
5. test-magenx/module-persistent

ActiveMagento2-module[Caching](/categories/caching)

test-magenx/module-persistent
=============================

N/A

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

Since Oct 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/test-magenx/module-persistent)[ Packagist](https://packagist.org/packages/test-magenx/module-persistent)[ RSS](/packages/test-magenx-module-persistent/feed)WikiDiscussions master Synced 3w ago

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

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

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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

7

Last Release

1724d ago

PHP version history (2 changes)100.4.3.x-devPHP ~7.3.0||~7.4.0

100.3.4PHP ~7.1.3||~7.2.0||~7.3.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9213670?v=4)[Yegor Shytikov](/maintainers/genaker)[@Genaker](https://github.com/Genaker)

### Embed Badge

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

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

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[loki/magento2-components

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

1011.8k26](/packages/loki-magento2-components)[buckaroo/magento2

Buckaroo Magento 2 extension

32420.3k7](/packages/buckaroo-magento2)[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.4M1](/packages/fastly-magento2)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50398.5k20](/packages/dotdigital-dotdigital-magento2-extension)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)

PHPackages © 2026

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