PHPackages                             chornij/yii2-zeroclipboard - 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. chornij/yii2-zeroclipboard

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

chornij/yii2-zeroclipboard
==========================

The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.

212.7k—4.2%2[1 issues](https://github.com/chornij/yii2-zeroclipboard/issues)JavaScript

Since Oct 2Pushed 10y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 ZeroClipboard v2.x extension
=================================

[](#yii2-zeroclipboard-v2x-extension)

The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist chornij/yii2-zeroclipboard "dev-master"

```

or add

```
"chornij/yii2-zeroclipboard": "dev-master"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
