PHPackages                             isobar-nz/silverstripe-versionprune - 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. isobar-nz/silverstripe-versionprune

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

isobar-nz/silverstripe-versionprune
===================================

Clear up old versioned records

1.1.0(6y ago)11.7kBSD-3-ClausePHP

Since Apr 22Pushed 6y ago3 watchersCompare

[ Source](https://github.com/isobar-nz/silverstripe-versionprune)[ Packagist](https://packagist.org/packages/isobar-nz/silverstripe-versionprune)[ RSS](/packages/isobar-nz-silverstripe-versionprune/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

Version Prune
-------------

[](#version-prune)

This module adds a task you can run at will which does the following:

- Clears all version history after the first 5 for each non-archived record
- Clears all version history for archived records
- Clears all version history for orphaned records

This automatically triggers on all dataobjects that have the versioned extension appled to the base class.

Note: Running this task means that archived records can no longer be recovered! Make a database backup if this is not your intention.

For example, if you run this nightly, you can work with records during the day, including recovering deleted records, but not if you leave it overnight.

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

[](#installation)

```
composer require isobar-nz/silverstripe-versionprune
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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

Total

3

Last Release

2204d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/isobar-nz-silverstripe-versionprune/health.svg)

```
[![Health](https://phpackages.com/badges/isobar-nz-silverstripe-versionprune/health.svg)](https://phpackages.com/packages/isobar-nz-silverstripe-versionprune)
```

###  Alternatives

[log1x/acf-composer

Create fields, blocks, option pages, and widgets using ACF Builder and Sage 10

493760.2k13](/packages/log1x-acf-composer)[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1321.0M72](/packages/silverstripe-userforms)[undefinedoffset/sortablegridfield

Adds drag and drop functionality to Silverstripe's GridField

941.2M50](/packages/undefinedoffset-sortablegridfield)[silverstripe/tagfield

Tag field for SilverStripe

571.2M45](/packages/silverstripe-tagfield)[markrogoyski/ipv4-subnet-calculator

Network calculator for subnet mask and other classless (CIDR) network information.

177813.7k6](/packages/markrogoyski-ipv4-subnet-calculator)[silverstripe/subsites

Run multiple sites from a single SilverStripe install.

65392.9k20](/packages/silverstripe-subsites)

PHPackages © 2026

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