PHPackages                             maxime-rainville/silverstripe-copy-field - 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. maxime-rainville/silverstripe-copy-field

ActiveSilverstripe-vendormodule

maxime-rainville/silverstripe-copy-field
========================================

A field with a simple copy button

0.0.1(4y ago)243[5 PRs](https://github.com/maxime-rainville/silverstripe-copy-field/pulls)BSD-3-ClauseJavaScript

Since Oct 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/maxime-rainville/silverstripe-copy-field)[ Packagist](https://packagist.org/packages/maxime-rainville/silverstripe-copy-field)[ RSS](/packages/maxime-rainville-silverstripe-copy-field/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (5)Versions (8)Used By (0)

Silverstripe CMS CopyField
==========================

[](#silverstripe-cms-copyfield)

This module provides a `CopyField` for Silverstripe CMS. The `CopyField` includes a copy button to make it easy to copy the value of the field to the clipboard.

[![image](https://user-images.githubusercontent.com/1168676/136212260-a0aa9c61-09fb-4f09-994b-1dbe5a03b134.png)](https://user-images.githubusercontent.com/1168676/136212260-a0aa9c61-09fb-4f09-994b-1dbe5a03b134.png)

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

[](#installation)

```
composer require maxime-rainville/silverstripe-copy-field

```

Usage
-----

[](#usage)

The CopyField defaults to being read only. If you want to hide the value, you can use the `setObfuscate` method on the `CopyField` to get it to render as a password.

```
use MaximeRainville\CopyField\CopyField;

...

$fields->addFieldsToTab(
    'Root.Main',
    [
        CopyField::create('APIKey', 'API Key', $this->Key),
        CopyField::create('APISecret', 'API Secret', $this->Secret)->setObfuscate(true)
    ]
);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Total

2

Last Release

1679d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1168676?v=4)[Maxime Rainville](/maintainers/maxime-rainville)[@maxime-rainville](https://github.com/maxime-rainville)

---

Top Contributors

[![maxime-rainville](https://avatars.githubusercontent.com/u/1168676?v=4)](https://github.com/maxime-rainville "maxime-rainville (1 commits)")

---

Tags

silverstripecms

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/maxime-rainville-silverstripe-copy-field/health.svg)

```
[![Health](https://phpackages.com/badges/maxime-rainville-silverstripe-copy-field/health.svg)](https://phpackages.com/packages/maxime-rainville-silverstripe-copy-field)
```

###  Alternatives

[silverstripe/cms

The SilverStripe Content Management System

5163.4M1.3k](/packages/silverstripe-cms)

PHPackages © 2026

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