PHPackages                             matthewkp/ez-clean-up-versions - 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. matthewkp/ez-clean-up-versions

ActiveEzplatform-bundle[Utility &amp; Helpers](/categories/utility)

matthewkp/ez-clean-up-versions
==============================

This tools clean ups all versions from all content in eZ Platform

3.0.0(6y ago)09861GPL-2.0PHP

Since Nov 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/matthewkp/ez-clean-up-versions)[ Packagist](https://packagist.org/packages/matthewkp/ez-clean-up-versions)[ Docs](https://github.com/matthewkp/ez-clean-up-versions)[ RSS](/packages/matthewkp-ez-clean-up-versions/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (10)Dependencies (1)Versions (21)Used By (0)

eZ Clean Up Versions Script
===========================

[](#ez-clean-up-versions-script)

This script will remove old versions of all contents for eZ Platform.

versions
--------

[](#versions)

- Branch v1 &amp; Tags 1.x : eZ Platform v1.x
- Branch v2 &amp; Tags 2.x : eZ Platform v2.x

Install Package
---------------

[](#install-package)

```
composer require matthewkp/ez-clean-up-versions
```

Register Bundle
---------------

[](#register-bundle)

```
// app/AppKernel.php

class AppKernel extends Kernel
{
    ...
    public function registerBundles()
    {
        ...
        $bundles = [
            ...
            new Matthewkp\EzCleanUpVersionsBundle\MatthewkpEzCleanUpVersionsBundle(),
            ...
        ];
        ...
    }
}
```

Arguments
---------

[](#arguments)

- Add -v to have the full information regarding content and version ids removals.
- Add --keep to set the number of versions to keep
- Add --locationId to set the root location id to start processing

Add in crontab
--------------

[](#add-in-crontab)

```
// /etc/cron.d/ or /var/spool/cron/apache
0 0 * * *  cd  && php bin/console matthewkp:ez-clean-up-versions --env= > 2>&1
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity72

Established project with proven stability

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

Recently: every ~0 days

Total

20

Last Release

2509d ago

Major Versions

v0.1.10 → 1.0.02016-11-26

1.0.2 → 2.0.02019-08-16

2.0.2 → 3.0.02019-08-17

### Community

Maintainers

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

---

Tags

ez-platformversionsezpublishezplatform

### Embed Badge

![Health badge](/badges/matthewkp-ez-clean-up-versions/health.svg)

```
[![Health](https://phpackages.com/badges/matthewkp-ez-clean-up-versions/health.svg)](https://phpackages.com/packages/matthewkp-ez-clean-up-versions)
```

###  Alternatives

[jean85/pretty-package-versions

A library to get pretty versions strings of installed dependencies

1.3k306.6M74](/packages/jean85-pretty-package-versions)[netgen/information-collection-bundle

Information collection alike feature for Ibexa Platform

1945.6k11](/packages/netgen-information-collection-bundle)[netgen/remote-media-bundle

Remote media field type implementation

189.5k6](/packages/netgen-remote-media-bundle)

PHPackages © 2026

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