PHP code example of nfaiz / ci4-debug-toolbar
1. Go to this page and download the library: Download nfaiz/ci4-debug-toolbar 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/ */
nfaiz / ci4-debug-toolbar example snippets
public $sqlCssTheme = [
'light' => 'github',
'dark' => 'dracula'
];
// Get available stylesheets.
$list = \HighlightUtilities\getAvailableStyleSheets();
d($list);
// Set true to get available stylesheets with absolute path.
$listPath = \HighlightUtilities\getAvailableStyleSheets(true);
d($listPath);
// Get specific stylesheet path.
$path = \HighlightUtilities\getStyleSheetPath('github');
d($path);