PHPackages                             akun/yii2-copy-text - 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. akun/yii2-copy-text

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

akun/yii2-copy-text
===================

yii2 copy-text

0.0.4(6y ago)03MITPHPPHP &gt;=7.0.0

Since Aug 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/akunchen/yii2-copyText)[ Packagist](https://packagist.org/packages/akun/yii2-copy-text)[ RSS](/packages/akun-yii2-copy-text/feed)WikiDiscussions master Synced yesterday

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

yii2-copyText
=============

[](#yii2-copytext)

usage
-----

[](#usage)

- single use

```
echo CopyText::widget([
    'text' => 'something to copy'
]);
```

- full config

```
echo CopyText::widget([
    'text' => [
        'msg' => 'something to copy',
        'tag' => 'span',
        'options' => [
            'class' => 'js-copy-target'
        ]
    ],
    'button' => [
        'msg' => 'copy',
        'tag' => 'a',
        'options' => [
            'class' => 'btn btn-primary js-copy-button'
        ]
    ],
    'copiedText' => 'copied'
]);
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

2461d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/69ce890b5ca25b2def1bac0d28283d20e7193b23d36d4facc20aeecf5b4dbc21?d=identicon)[akunchen](/maintainers/akunchen)

---

Top Contributors

[![akunchen](https://avatars.githubusercontent.com/u/16153006?v=4)](https://github.com/akunchen "akunchen (8 commits)")

### Embed Badge

![Health badge](/badges/akun-yii2-copy-text/health.svg)

```
[![Health](https://phpackages.com/badges/akun-yii2-copy-text/health.svg)](https://phpackages.com/packages/akun-yii2-copy-text)
```

###  Alternatives

[asinfotrack/yii2-toolbox

Yii2-Toolbox is a collection of useful helpers, widgets etc. extending the basic functionality of Yii2

1230.5k5](/packages/asinfotrack-yii2-toolbox)

PHPackages © 2026

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