PHPackages                             aurmil/magento-cleanup-session - 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. aurmil/magento-cleanup-session

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

aurmil/magento-cleanup-session
==============================

Magento - Clean up session extension

v1.1.2(10y ago)78292MITPHP

Since Dec 17Pushed 7y ago3 watchersCompare

[ Source](https://github.com/aurmil/magento-cleanup-session)[ Packagist](https://packagist.org/packages/aurmil/magento-cleanup-session)[ Docs](https://github.com/aurmil/magento-cleanup-session)[ RSS](/packages/aurmil-magento-cleanup-session/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Magento - Clean up session extension
====================================

[](#magento---clean-up-session-extension)

Overview
--------

[](#overview)

This extension allows you to schedule a cleanup of Magento session storage (only files and database are supported).

Convenient when you can not edit php.ini (to configure session garbage collector) or do not want to use a scheduled bash script.

Compatibility
-------------

[](#compatibility)

Tested on Magento CE 1.6 - 1.9

Notes
-----

[](#notes)

- Free and open source
- Fully configurable
- Bundled with English, French and Dutch (thanks to Michel van de Wiel) translations

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

[](#installation)

No Magento files will be modified, no extended class, no overridden method.

### With modman

[](#with-modman)

- `$ modman clone https://github.com/aurmil/magento-cleanup-session.git`

### Manually

[](#manually)

- Download the latest version of this module [here](https://github.com/aurmil/magento-cleanup-session/archive/master.zip)
- Unzip it
- Move the "app" folder into the root directory of your Magento application, it will be merged with the existing "app" folder

### With composer

[](#with-composer)

- Adapt the following "composer.json" file into yours:

```
{
    "require": {
        "aurmil/magento-cleanup-session": "dev-master"
    },
    "repositories": [
        {
            "type": "composer",
            "url": "http://packages.firegento.com"
        },
        {
            "type": "vcs",
            "url": "git://github.com/aurmil/magento-cleanup-session"
        }
    ],
    "extra": {
        "magento-root-dir": "./"
    }
}

```

- Install or update your composer project dependencies

Usage
-----

[](#usage)

In **System &gt; Configuration &gt; Advanced &gt; System**, this extension adds a new group: **Session Cleaning**.

[![](docs/images/cleanup-session-cron-config.png)](docs/images/cleanup-session-cron-config.png)

Default values enable session cleanup task, daily at midnight.

You are free to change these settings and set an email address to receive log email if an error occurs.

Note: when removing this module, the scheduled task remains. Remove it from DB (**core\_config\_data** table, remove entry where **path** = **crontab/jobs/aurmil\_session\_clean/schedule/cron\_expr**) or disable it in admin if you have [AOE Scheduler module](https://github.com/AOEpeople/Aoe_Scheduler).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/aurmil/magento-cleanup-session/blob/master/LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

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

Total

3

Last Release

3741d ago

### Community

Maintainers

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

---

Top Contributors

[![aurmil](https://avatars.githubusercontent.com/u/1309545?v=4)](https://github.com/aurmil "aurmil (25 commits)")

---

Tags

magentosession

### Embed Badge

![Health badge](/badges/aurmil-magento-cleanup-session/health.svg)

```
[![Health](https://phpackages.com/badges/aurmil-magento-cleanup-session/health.svg)](https://phpackages.com/packages/aurmil-magento-cleanup-session)
```

###  Alternatives

[laminas/laminas-session

Object-oriented interface to PHP sessions and storage

8223.7M126](/packages/laminas-laminas-session)[msp/devtools-m1

MageSpecialist DevTools for Magento 1

2640.6k](/packages/msp-devtools-m1)[friends-of-hyva/magento2-crawler-session

Prevent crawlers from creating a session

166.5k](/packages/friends-of-hyva-magento2-crawler-session)

PHPackages © 2026

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