Adds a button to quickly turn forceCopy on/off in the debug toolbar.
The preferred way to install this extension is through composer.
php composer.phar require --prefer-dist derekisbusy/yii2-forcecopy "*"
to the require section of your
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'] ] ], ...
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.