PHPackages                             roseblade/ss-duplicate-dataobject - 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. roseblade/ss-duplicate-dataobject

Abandoned → [jinjie/ss4-duplicate-dataobject](/?search=jinjie%2Fss4-duplicate-dataobject)Silverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

roseblade/ss-duplicate-dataobject
=================================

Adds a duplicate button to GridField in the CMS that enables duplicating of dataobjects. Code originally by Kong Jin Jie and upgraded for SS 5.2.

1.0.1(1y ago)0141MIT

Since Jun 10Pushed 6mo agoCompare

[ Source](https://github.com/RosebladeMedia/duplicate-dataobject)[ Packagist](https://packagist.org/packages/roseblade/ss-duplicate-dataobject)[ RSS](/packages/roseblade-ss-duplicate-dataobject/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

SilverStripe 4 Duplicate DataObject
===================================

[](#silverstripe-4-duplicate-dataobject)

Adds a duplicate button to GridField in the CMS that enables duplicating of dataobjects

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

[](#installation)

`composer require jinjie/ss4-duplicate-dataobject`

Usage Example
-------------

[](#usage-example)

This module uses the built in DataObject duplication.

See

- [https://api.silverstripe.org/4/SilverStripe/ORM/DataObject.html#method\_duplicate](https://api.silverstripe.org/4/SilverStripe/ORM/DataObject.html#method_duplicate)
- [https://docs.silverstripe.org/en/4/developer\_guides/model/relations/#cascading-duplications](https://docs.silverstripe.org/en/4/developer_guides/model/relations/#cascading-duplications)

```
// Add component on existing GridField
$fields->fieldByName('Root.Main.MyGridField')
    ->getConfig()
    ->addComponent(new GridFieldDuplicateAction());

// Add component on new GridField
$fields->push(
    GridField::create(
        'MyGridField',
        'MyGridField'
    )->addComponent(new GridFieldDuplicateAction())
);
```

Author
------

[](#author)

Developed by Jin Jie @ [Swift DevLabs](https://www.swiftdev.sg/)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance51

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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 ~0 days

Total

2

Last Release

705d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/79709cf1f76ba0120e459da3effa93120ae0897393a34caa5200140c7e5fd728?d=identicon)[MatMorrisParker](/maintainers/MatMorrisParker)

---

Top Contributors

[![jinjie](https://avatars.githubusercontent.com/u/2721195?v=4)](https://github.com/jinjie "jinjie (7 commits)")[![LukasViolet88](https://avatars.githubusercontent.com/u/155470295?v=4)](https://github.com/LukasViolet88 "LukasViolet88 (1 commits)")[![Svenodoculos](https://avatars.githubusercontent.com/u/10992746?v=4)](https://github.com/Svenodoculos "Svenodoculos (1 commits)")

### Embed Badge

![Health badge](/badges/roseblade-ss-duplicate-dataobject/health.svg)

```
[![Health](https://phpackages.com/badges/roseblade-ss-duplicate-dataobject/health.svg)](https://phpackages.com/packages/roseblade-ss-duplicate-dataobject)
```

###  Alternatives

[silverstripe/multi-domain

Allows multiple domains to access one CMS instance, mapping them to different sections of the hierarchy

141.6k](/packages/silverstripe-multi-domain)

PHPackages © 2026

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