PHPackages                             sunnysideup/versions-table-pruner - 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. [Database &amp; ORM](/categories/database)
4. /
5. sunnysideup/versions-table-pruner

ActiveSilverstripe-vendormodule[Database &amp; ORM](/categories/database)

sunnysideup/versions-table-pruner
=================================

prune your Versions table, keeping many, but the further you go back in time, the less versions you keep. You can also keep versions were a specific field was changed (e.g. Content, Price, or Title)

0.1.2(6mo ago)0211BSD-3-ClausePHP

Since Dec 8Pushed 2mo agoCompare

[ Source](https://github.com/sunnysideup/silverstripe-versions-table-pruner)[ Packagist](https://packagist.org/packages/sunnysideup/versions-table-pruner)[ RSS](/packages/sunnysideup-versions-table-pruner/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (8)Versions (5)Used By (0)

Versions Table Pruner
=====================

[](#versions-table-pruner)

[![Build Status](https://camo.githubusercontent.com/a90bc298e984cc75d73d551ba6b4da8e0360550fdb1e65bbbb51b9a09de45f82/68747470733a2f2f7472617669732d63692e6f72672f73756e6e797369646575702f73696c7665727374726970652d76657273696f6e732d7461626c652d7072756e65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sunnysideup/silverstripe-versions-table-pruner)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/803fb6902a115838b64c409b84823b116d28c23e974178d5123f0690128509e1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73756e6e797369646575702f73696c7665727374726970652d76657273696f6e732d7461626c652d7072756e65722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sunnysideup/silverstripe-versions-table-pruner/?branch=master)[![codecov.io](https://camo.githubusercontent.com/f45f50027ca04a7631f949b70aa0adc117e79c798a6b073dba9815ad8ac6edd7/68747470733a2f2f636f6465636f762e696f2f6769746875622f73756e6e797369646575702f73696c7665727374726970652d76657273696f6e732d7461626c652d7072756e65722f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/sunnysideup/silverstripe-versions-table-pruner?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/accdb5aa0878908ae60acb16c87ed3ba96949f72bc9ad81c30d27c78e2c6436a/68747470733a2f2f706f7365722e707567782e6f72672f73756e6e797369646575702f76657273696f6e732d7461626c652d7072756e65722f76657273696f6e)](https://packagist.org/packages/sunnysideup/versions-table-pruner)[![License](https://camo.githubusercontent.com/74702566ad84da8f912e3c72819c3fbaa96a745cd18c6ce67f1632c3fd101731/68747470733a2f2f706f7365722e707567782e6f72672f73756e6e797369646575702f76657273696f6e732d7461626c652d7072756e65722f6c6963656e7365)](https://packagist.org/packages/sunnysideup/versions-table-pruner)[![Monthly Downloads](https://camo.githubusercontent.com/bac6b5900d61242c7ec65e3f9c89b1720a2e95fec47ebba3a90f35916b375ea5/68747470733a2f2f706f7365722e707567782e6f72672f73756e6e797369646575702f76657273696f6e732d7461626c652d7072756e65722f642f6d6f6e74686c79)](https://packagist.org/packages/sunnysideup/versions-table-pruner)

Documentation
-------------

[](#documentation)

- [Developer Docs](docs/en/INDEX.md)
- [User Guide](docs/en/userguide.md)
- [API Docs](http://docs.ssmods.com/sunnysideup/versions-table-pruner/classes.xhtml)

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

[](#requirements)

See [composer.json](composer.json) for details.

### Suggested modules

[](#suggested-modules)

See [composer.json](composer.json) for details.

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

[](#installation)

```
composer require sunnysideup/versions-table-pruner
```

### Configuration

[](#configuration)

In the `_config` folder you will find the `versions-table-pruner.yml.example`file that shows options for the configuration of this module.

We recommend that you:

1. copy these `versions-table-pruner.yml.example` files into your `app/_config` folder (where available - otherwise search for `private static $` in the module to see what can be configured)
2. remove the .example extension,
3. delete the lines you do not care about, and
4. adjust the configurations that you would like to use.

Contributing
------------

[](#contributing)

We welcome any contributions. See [CONTRIBUTING.md](CONTRIBUTING.md) for more details.

Paid assistance
---------------

[](#paid-assistance)

You can pay us to create an improved / adapted version of this module for your own projects. Please contact us if you like to find out more: [www.sunnysideup.co.nz](https://www.sunnysideup.co.nz). For example, we can write tests for this module.

Author
------

[](#author)

Sunny Side Up Ltd.

Looking for Silverstripe Modules?
---------------------------------

[](#looking-for-silverstripe-modules)

To find other modules, please visit [ssmods.com](https://ssmods.com/).

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance76

Regular maintenance activity

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

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

Total

4

Last Release

88d ago

Major Versions

0.1.2 → 5.x-dev2026-04-06

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/167154?v=4)[Sunny Side Up](/maintainers/sunnysideup)[@sunnysideup](https://github.com/sunnysideup)

---

Top Contributors

[![sunnysideup](https://avatars.githubusercontent.com/u/167154?v=4)](https://github.com/sunnysideup "sunnysideup (7 commits)")

---

Tags

versionsdbversiondeleteprunetruncatehistoricspring cleandatabase maintenancereduce rowsdatabase size

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sunnysideup-versions-table-pruner/health.svg)

```
[![Health](https://phpackages.com/badges/sunnysideup-versions-table-pruner/health.svg)](https://phpackages.com/packages/sunnysideup-versions-table-pruner)
```

###  Alternatives

[silverstripe/cms

The SilverStripe Content Management System

5253.6M1.4k](/packages/silverstripe-cms)[aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.

4883.1M39](/packages/aura-sqlquery)[atlas/query

Object-oriented query builders and performers for MySQL, Postgres, SQLite, and SQLServer.

41256.9k7](/packages/atlas-query)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[smrtr/mysql-version-control

A crude version control system for mysql written in php

221.4k](/packages/smrtr-mysql-version-control)[brettt89/silverstripe-garbage-collector

SilverStripe Garbage Collector module

1010.7k](/packages/brettt89-silverstripe-garbage-collector)

PHPackages © 2026

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