derekisbusy / yii2-forcecopy
Adds a button to quickly turn forcecopy on/off in the asset manager .
Package info
github.com/derekisbusy/yii2-forcecopy
Type:yii2-extension
pkg:composer/derekisbusy/yii2-forcecopy
1.0.1
2017-02-08 23:37 UTC
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2026-02-25 10:46:20 UTC
README
Adds a button to quickly turn forceCopy on/off in the debug toolbar.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist --dev derekisbusy/yii2-forcecopy "*"
or add
"derekisbusy/yii2-forcecopy": "*"
to the require section of your composer.json file.
Setup Config
Add the forcecopy panel to the debug panels list in your configuration file :
'debug' => [ 'class' => 'yii\debug\Module', 'panels' => [ 'forcecopy' => ['class' => 'derekisbusy\forcecopy\ForcecopyPanel'] ] ],
Usage
The extension will add a section to the debug toolbar indicating whether or not forceCopy is on or off. Click the forcecopy status label to change it's state on or off.