PHPackages                             aimanecouissi/module-system-config-file-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. aimanecouissi/module-system-config-file-cleanup

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

aimanecouissi/module-system-config-file-cleanup
===============================================

Delete old files from system configuration file fields

1.0.0(2mo ago)011MITPHPPHP ^8.3

Since Apr 30Pushed 2mo agoCompare

[ Source](https://github.com/aimanecouissi/magento2-module-system-config-file-cleanup)[ Packagist](https://packagist.org/packages/aimanecouissi/module-system-config-file-cleanup)[ Docs](https://github.com/aimanecouissi/magento2-module-system-config-file-cleanup)[ RSS](/packages/aimanecouissi-module-system-config-file-cleanup/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

AimaneCouissi\_SystemConfigFileCleanup
======================================

[](#aimanecouissi_systemconfigfilecleanup)

[![Latest Stable Version](https://camo.githubusercontent.com/c40584aaeaccc089bc72d1910282134190e3ff5192014f36893877082bd9bf0e/687474703a2f2f706f7365722e707567782e6f72672f61696d616e65636f75697373692f6d6f64756c652d73797374656d2d636f6e6669672d66696c652d636c65616e75702f76)](https://packagist.org/packages/aimanecouissi/module-system-config-file-cleanup) [![Total Downloads](https://camo.githubusercontent.com/048a5f1c749a618b9adcce02b9c04de3569d2dfda2d84cf2d3261f632f29ae77/687474703a2f2f706f7365722e707567782e6f72672f61696d616e65636f75697373692f6d6f64756c652d73797374656d2d636f6e6669672d66696c652d636c65616e75702f646f776e6c6f616473)](https://packagist.org/packages/aimanecouissi/module-system-config-file-cleanup) [![Magento Version](https://camo.githubusercontent.com/e12f3bc2204f91814f000943743aed5e534bc134962b7cd0704ee6051acfdb20/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d322e342e782d453638373138)](https://packagist.org/packages/aimanecouissi/module-system-config-file-cleanup) [![License](https://camo.githubusercontent.com/d56c3904a80b5490dbd82518a44ab9e4ca01d91936eddcbdd90766a643790d15/687474703a2f2f706f7365722e707567782e6f72672f61696d616e65636f75697373692f6d6f64756c652d73797374656d2d636f6e6669672d66696c652d636c65616e75702f6c6963656e7365)](https://packagist.org/packages/aimanecouissi/module-system-config-file-cleanup) [![PHP Version Require](https://camo.githubusercontent.com/f01ef668cda8794443f4e55a48f229f2ba6fd92967f4549ef80d586403597f38/687474703a2f2f706f7365722e707567782e6f72672f61696d616e65636f75697373692f6d6f64756c652d73797374656d2d636f6e6669672d66696c652d636c65616e75702f726571756972652f706870)](https://packagist.org/packages/aimanecouissi/module-system-config-file-cleanup)

Deletes replaced or cleared media files from **Stores → Configuration** file fields. The module cleans up previously uploaded files when Magento system configuration file fields are saved with a replacement or empty value.

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

[](#installation)

```
composer require aimanecouissi/module-system-config-file-cleanup
bin/magento module:enable AimaneCouissi_SystemConfigFileCleanup
bin/magento setup:upgrade
bin/magento cache:flush
```

Usage
-----

[](#usage)

When a **Stores → Configuration** file field backed by `Magento\Config\Model\Config\Backend\File` is saved with a replacement file or an empty value, the previously stored media file is deleted. Fields that keep the same file value leave the existing media file in place.

Uninstall
---------

[](#uninstall)

```
bin/magento module:disable AimaneCouissi_SystemConfigFileCleanup
composer remove aimanecouissi/module-system-config-file-cleanup
bin/magento setup:upgrade
bin/magento cache:flush
```

Changelog
---------

[](#changelog)

See [CHANGELOG](CHANGELOG.md) for all recent changes.

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance83

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

85d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/355d6c90d36920c9ac79d58c7f959ae1dd258d39fbae7288ef4384ff9afe1505?d=identicon)[aimanecouissi](/maintainers/aimanecouissi)

---

Top Contributors

[![aimanecouissi](https://avatars.githubusercontent.com/u/109481784?v=4)](https://github.com/aimanecouissi "aimanecouissi (1 commits)")

---

Tags

magentomagento-extensionmagento-modulemagento2magento2-extensionmagento2-modulephpmagentosystemmagento2cleanupadobe commerceconfig file

### Embed Badge

![Health badge](/badges/aimanecouissi-module-system-config-file-cleanup/health.svg)

```
[![Health](https://phpackages.com/badges/aimanecouissi-module-system-config-file-cleanup/health.svg)](https://phpackages.com/packages/aimanecouissi-module-system-config-file-cleanup)
```

###  Alternatives

[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

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

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[baldwin/magento2-module-less-js-compiler

Allows Magento 2 to compile less files using the less nodejs compiler

2350.9k](/packages/baldwin-magento2-module-less-js-compiler)[mage-os/module-llm-txt

AI-powered LLMs.txt generation for Magento 2 / Mage-OS stores. Help AI systems understand your store with OpenAI-generated content.

234.4k](/packages/mage-os-module-llm-txt)[joseph-leedy/module-custom-fees

Adds configurable custom fees to orders

361.2k](/packages/joseph-leedy-module-custom-fees)[angeo/module-llms-txt

Magento 2 module for AI Engine Optimization (AEO). Generates spec-compliant llms.txt and llms-full.txt per llmstxt.org standard, plus streaming JSONL for vector indexing. Multi-store, multi-website, CLI, cron, async admin UI, Page Builder-aware sanitization, customer-group pricing, atomic writes, ETag/Cache-Control, .md mirrors.

111.1k](/packages/angeo-module-llms-txt)

PHPackages © 2026

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