PHPackages                             eikona-media/akeneo-purge-media-files - 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. [Image &amp; Media](/categories/media)
4. /
5. eikona-media/akeneo-purge-media-files

AbandonedArchivedAkeneo-bundle[Image &amp; Media](/categories/media)

eikona-media/akeneo-purge-media-files
=====================================

Purge media files

2.0.1(6y ago)3921MITPHPPHP ~7.2

Since Jun 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/eikona-media/akeneo-purge-media-files)[ Packagist](https://packagist.org/packages/eikona-media/akeneo-purge-media-files)[ RSS](/packages/eikona-media-akeneo-purge-media-files/feed)WikiDiscussions master Synced yesterday

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

Akeneo Purge Media Files Bundle
===============================

[](#akeneo-purge-media-files-bundle)

**IMPORTANT:** Do not use this bundle in the Akeneo PIM Enterprise Edition ([why?](#why-not-to-use-in-the-akeneo-pim--enterprise-edition))

This bundle comes with a new command to remove unused media files.

Requirements
------------

[](#requirements)

VersionAkeneo PIM Community EditionAkeneo PIM Enterprise Edition2.\*3.0.\***Do not use**1.\*2.3.\***Do not use**Installation
------------

[](#installation)

```
    composer require eikona-media/akeneo-purge-media-files:~2.0
```

Enable the bundle in the `app/AppKernel.php` file in the `registerProjectBundles()` method:

```
protected function registerProjectBundles()
{
    return [
        // ...
        new EikonaMedia\Akeneo\PurgeMediaFilesBundle\EikonaMediaAkeneoPurgeMediaFilesBundle(),
    ];
}
```

Usage
-----

[](#usage)

To remove unused media files execute the command `eikona-media:media:purge-files`.
The command has one option: `--force`. If you omit the option the command runs in safe mode (no files will be deleted).

The command searches for media files in the catalog storage directory (Akeneo parameter: `catalog_storage_dir`) for files, which:

- do not have an entry in `akeneo_file_storage_file_info`
- do have an entry in `akeneo_file_storage_file_info` but are not used in any product or product model (in this case the command also removes the entity)

Why not to use in the Akeneo PIM Enterprise Edition
---------------------------------------------------

[](#why-not-to-use-in-the-akeneo-pim-enterprise-edition)

- The Akeneo PIM Enterprise Edition has the asset management (so we probably dont want to delete unsued files)
- The Akeneo PIM Enterprise Edition has proposals (which the command does not search through)
- The Akeneo PIM Enterprise Edition can restore old product versions (which the command does not search through)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

Every ~0 days

Total

5

Last Release

2520d ago

Major Versions

1.0.0 → 2.0.02019-06-18

1.x-dev → 2.0.12019-06-18

PHP version history (2 changes)1.0.0PHP ~7.1

2.0.0PHP ~7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/a08826af10df31af501e1a17ecfdaffffe0dcc0346cf1c5517ae9a2667e535a7?d=identicon)[r.baussenwein](/maintainers/r.baussenwein)

![](https://www.gravatar.com/avatar/9a98cc4c770891f76c29ea53198c786476551fc4dd74f19477db7bffe295b992?d=identicon)[t.mueller](/maintainers/t.mueller)

---

Top Contributors

[![Rafelder](https://avatars.githubusercontent.com/u/2484846?v=4)](https://github.com/Rafelder "Rafelder (8 commits)")

---

Tags

akeneoakeneo-pimcommandfilesmediaremove

### Embed Badge

![Health badge](/badges/eikona-media-akeneo-purge-media-files/health.svg)

```
[![Health](https://phpackages.com/badges/eikona-media-akeneo-purge-media-files/health.svg)](https://phpackages.com/packages/eikona-media-akeneo-purge-media-files)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

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