PHP code example of asenar / chromephp

1. Go to this page and download the library: Download asenar/chromephp 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/ */

    

asenar / chromephp example snippets


     ChromePhp::log('Hello console!');
    ChromePhp::log($_SERVER);
    ChromePhp::warn('something went wrong!');
    

     $firephp = ChromePhp::getInstance();
    $firephp->setEnabled(true, 'FirePHP');
    

    // disable FirePHP mode
    $firephp->addSetting('log_style', '');
    
    //enable FirePHP mode
    $firephp->addSetting('log_style', 'FirePHP');
    

    $firephp->log($_GET, 'GET variables');
    $firephp->warn('Value out of range');