PHPackages                             supplyhog/yii2-clipboardjs - 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. supplyhog/yii2-clipboardjs

ActiveLibrary

supplyhog/yii2-clipboardjs
==========================

8132.2k↓18.3%6[1 PRs](https://github.com/supplyhog/yii2-clipboardjs/pulls)1PHP

Since Oct 31Pushed 2y ago2 watchersCompare

[ Source](https://github.com/supplyhog/yii2-clipboardjs)[ Packagist](https://packagist.org/packages/supplyhog/yii2-clipboardjs)[ RSS](/packages/supplyhog-yii2-clipboardjs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (1)

yii2-clipboardjs
================

[](#yii2-clipboardjs)

An easy way to use [Clipboardjs](https://clipboardjs.com/) in your project. Clipboardjs is a javascript only way to copy text to the clipboard.

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

[](#installation)

Install this extension via [composer](http://getcomposer.org/download). Add this line to your project’s composer.json

```
"supplyhog/yii2-clipboardjs" : "dev-master"
```

Usage
-----

[](#usage)

```
//Button to copy text

//Button to copy text from input id

```

Just the Asset?
---------------

[](#just-the-asset)

Yes, you can use just the asset. `php \supplyhog\ClipboardJs\ClipboardJsAsset::register($view)` It will auto init anything with the "clipboard-js-init" class.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0bfd3e80deddfc1bbe251ffe4576b2aec517feb4ac45a4b4649ad43c4d15d3a7?d=identicon)[devsupplyhog](/maintainers/devsupplyhog)

---

Top Contributors

[![philipdbrown](https://avatars.githubusercontent.com/u/1117499?v=4)](https://github.com/philipdbrown "philipdbrown (1 commits)")[![Stunc0](https://avatars.githubusercontent.com/u/1286170?v=4)](https://github.com/Stunc0 "Stunc0 (1 commits)")

### Embed Badge

![Health badge](/badges/supplyhog-yii2-clipboardjs/health.svg)

```
[![Health](https://phpackages.com/badges/supplyhog-yii2-clipboardjs/health.svg)](https://phpackages.com/packages/supplyhog-yii2-clipboardjs)
```

PHPackages © 2026

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