PHPackages                             jinjie/ss4-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. jinjie/ss4-duplicate-dataobject

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

jinjie/ss4-duplicate-dataobject
===============================

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

v2.0.0(1y ago)322.3k↓47.1%8[1 issues](https://github.com/jinjie/duplicate-dataobject/issues)[2 PRs](https://github.com/jinjie/duplicate-dataobject/pulls)1MITPHP

Since Aug 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jinjie/duplicate-dataobject)[ Packagist](https://packagist.org/packages/jinjie/ss4-duplicate-dataobject)[ RSS](/packages/jinjie-ss4-duplicate-dataobject/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (1)

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

38

—

LowBetter than 83% of packages

Maintenance25

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Total

3

Last Release

704d ago

Major Versions

v1.1 → v2.0.02024-07-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d24d7bd9fd11fef8ef00cbb7c27213e1701c074242fef49803db9bdcc9af210?d=identicon)[jinjie](/maintainers/jinjie)

---

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/jinjie-ss4-duplicate-dataobject/health.svg)

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

###  Alternatives

[silverstripe/userforms

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

1371.1M85](/packages/silverstripe-userforms)[symbiote/silverstripe-gridfieldextensions

A collection of useful grid field components

951.9M271](/packages/symbiote-silverstripe-gridfieldextensions)[symbiote/silverstripe-advancedworkflow

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

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[silverstripe/tagfield

Tag field for SilverStripe

561.3M50](/packages/silverstripe-tagfield)[jonom/silverstripe-betternavigator

Front-end utility menu for Silverstripe websites featuring administration and development tools

60435.1k13](/packages/jonom-silverstripe-betternavigator)[lekoala/silverstripe-cms-actions

Add actions to your models in SilverStripe

39344.8k31](/packages/lekoala-silverstripe-cms-actions)

PHPackages © 2026

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