PHPackages                             phoenix-media/magento2-cleanup - 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. phoenix-media/magento2-cleanup

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

phoenix-media/magento2-cleanup
==============================

The module archives and removes old files.

1.0.4(3y ago)721.9k↓26.1%8MITPHP

Since Aug 21Pushed 3y ago2 watchersCompare

[ Source](https://github.com/PHOENIX-MEDIA/Magento2-Cleanup)[ Packagist](https://packagist.org/packages/phoenix-media/magento2-cleanup)[ RSS](/packages/phoenix-media-magento2-cleanup/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)DependenciesVersions (12)Used By (0)

Phoenix Media Cleanup
---------------------

[](#phoenix-media-cleanup)

The module archives and removes old entities. It supports log files, product images and quotes.

### What it does

[](#what-it-does)

For files it basically replaces logrotate. It archives and compresses log files and cleans up the archive folder after a configurable period. For product images it finds unreferenced files in media/catalog/product and moves them to a recycle bin which gets purged after a configurable period. For quotes it simply removes customer and guest quotes after a configurable period.

### How it works

[](#how-it-works)

The module provides a cron job and a shell command to execute the cleanup jobs. Those jobs are implemented as "handlers" which clean up a specific entity. The set of bundled handlers can be easily extended by custom handlers via di.xml. A resolver will then expose configured handlers to the cron job and the shell command which then can execute the cleanup without additional configuration.

New handlers need to implement the HandlerInterface and be registerdto the handlerPool using di.xml.

### How to use

[](#how-to-use)

1. Install the module via Composer:

```
composer require phoenix-media/magento2-cleanup

```

2. Enable it `bin/magento module:enable Phoenix_Cleanup`
3. Install the module and rebuild the DI cache `bin/magento setup:upgrade`

### How to configure

[](#how-to-configure)

Find the modules configuration in the PHOENIX MEDIA section of your Magento configuration.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 73.5% 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 ~115 days

Recently: every ~99 days

Total

11

Last Release

1303d ago

Major Versions

0.9.8 → 1.0.02021-09-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/cc4a7e1dd009e54a2bdd2af2b69fde430a7d5c1f36412adcf9e8c267e23aa9b1?d=identicon)[PHOENIX-MEDIA](/maintainers/PHOENIX-MEDIA)

---

Top Contributors

[![phoenix-bjoern](https://avatars.githubusercontent.com/u/846569?v=4)](https://github.com/phoenix-bjoern "phoenix-bjoern (25 commits)")[![pxfm](https://avatars.githubusercontent.com/u/27824513?v=4)](https://github.com/pxfm "pxfm (8 commits)")[![aschrammel](https://avatars.githubusercontent.com/u/1203434?v=4)](https://github.com/aschrammel "aschrammel (1 commits)")

---

Tags

magento2magento2-module

### Embed Badge

![Health badge](/badges/phoenix-media-magento2-cleanup/health.svg)

```
[![Health](https://phpackages.com/badges/phoenix-media-magento2-cleanup/health.svg)](https://phpackages.com/packages/phoenix-media-magento2-cleanup)
```

###  Alternatives

[coyl/git

PHP library for manipulations on git repository. Based on kbjr/Git.php and it's forks

11199.7k4](/packages/coyl-git)[mehedijaman/laravel-zkteco

Connect any zkteco fingerprint attendance machine to laravel application with no effort.

454.1k](/packages/mehedijaman-laravel-zkteco)

PHPackages © 2026

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