1. Go to this page and download the library: Download sergeykoz/yii2-debug library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
class MyTestPanel extends Yii2DebugPanel
{
/**
* The name of panel printed in debugger
*/
public function getName()
{
return 'Name';
}
/**
* Return summary html with results of execution in current request.
* Data is available through $this->data
*/
public function getSummary()
{
return '';
}
/**
* Return detailed html report with results of execution in current request.
* Data is available through $this->data
*/
public function getDetail()
{
return '';
}
/**
* Return data