Skip to content

derekisbusy/yii2-forcecopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yii2-forcecopy

Latest Release Software License Total Downloads

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.

About

Debug toolbar plugin to add button to quickly enable/disable forcecopy.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published