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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nathancox/versionedgridrows

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

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 2w 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 41% 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

3225d ago

Major Versions

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

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/194315?v=4)[Nathan Cox](/maintainers/nathancox)[@nathancox](https://github.com/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

[lekoala/silverstripe-cms-actions

Add actions to your models in SilverStripe

39317.0k29](/packages/lekoala-silverstripe-cms-actions)[sunnysideup/typography

Add a typography test page to your silverstripe website / application.

124.4k4](/packages/sunnysideup-typography)

PHPackages © 2026

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