PHPackages                             nathancox/versionedgridrows - 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. nathancox/versionedgridrows

ActiveSilverstripe-module

nathancox/versionedgridrows
===========================

A SilverStripe extension to mark gridfield rows for versioned objects as draft or modified

v1.1.0(8y ago)15091[1 issues](https://github.com/nathancox/silverstripe-versionedgridrows/issues)BSD-3-ClausePHP

Since Jul 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/nathancox/silverstripe-versionedgridrows)[ Packagist](https://packagist.org/packages/nathancox/versionedgridrows)[ Docs](https://github.com/nathancox/silverstripe-versionedgridrows)[ RSS](/packages/nathancox-versionedgridrows/feed)WikiDiscussions master Synced 3d ago

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

SilverStripe VersionedGridRows
==============================

[](#silverstripe-versionedgridrows)

This module extends GridField to add some styles and labels for showing the published state of versioned objects.

[![screenshot](./screenshot1.png)](./screenshot1.png)

Maintainer Contacts
-------------------

[](#maintainer-contacts)

Nathan Cox ()

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

[](#requirements)

- SilverStripe 3.1+

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

[](#documentation)

[GitHub](https://github.com/nathancox/silverstripe-versionedgridrows/wiki)

Installation Instructions
-------------------------

[](#installation-instructions)

With composer:

```
composer require nathancox/versionedgridrows
```

Usage Overview
--------------

[](#usage-overview)

Configuration via `config.yml`:

```
VersionedGridRows:
  mode: 'component'			# can be "component", "config" or "always"
  show_published: false		# set to true to show a flag on published items as well
```

Options for the mode setting:

**mode: 'component'**

Only add row styles to GridFields with the VersionGridRows component added to them. This is done like any other component:

```
$gridFieldConfig->addComponent(new VersionedGridRows('Title'));
```

The constructor argument ("Title") specifies the name of the column the "draft" or "modified" flags will be appended to. Leave blank to not automatically append the flags.

**mode: 'always'**

Styles will be added to all GridFields that managed versioned objects. If you want to add flags you need to do it manually with something like this:

```
$summary_fields = array(
	'VersionedTitle' => 'Title'
);

...

public function VersionedTitle()
{
	return VersionedGridRows::get_column_content($this, $this->Title);
}
```

**mode: 'config'**

Specify a list of classes that styles will be added to.

```
VersionedGridRow:
  mode: 'config'
  classes:
  	- Page
  	- StaffMember
  	- HomepageSlide
```

You will have to add version status flags manually as shown above.

Known Issues
------------

[](#known-issues)

[Issue Tracker](https://github.com/nathancox/silverstripe-versionedgridrows/issues)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Total

5

Last Release

3178d ago

Major Versions

v1.x-dev → v2.x-dev2017-09-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/7180a8cd979165ae26632d1b0145cd4f720c5a4946692231009995b103897a2b?d=identicon)[nathancox](/maintainers/nathancox)

---

Top Contributors

[![nathancox](https://avatars.githubusercontent.com/u/194315?v=4)](https://github.com/nathancox "nathancox (6 commits)")

---

Tags

silverstripecmsversionedgridfield

### Embed Badge

![Health badge](/badges/nathancox-versionedgridrows/health.svg)

```
[![Health](https://phpackages.com/badges/nathancox-versionedgridrows/health.svg)](https://phpackages.com/packages/nathancox-versionedgridrows)
```

###  Alternatives

[silverstripe/cms

The SilverStripe Content Management System

5163.4M1.3k](/packages/silverstripe-cms)[axllent/silverstripe-tiled-gridfield

Inline/tiled images in a Silverstripe GridField table

163.2k](/packages/axllent-silverstripe-tiled-gridfield)

PHPackages © 2026

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