PHP code example of concrete5cojp / concrete5_debugbar

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

    

concrete5cojp / concrete5_debugbar example snippets


\Core::make('debugbar/messages')->info('hello world');
\Core::make('debugbar/messages')->info($object);

\Core::make('debugbar/time')->startMeasure('longop', 'My long operation');
sleep(2);
\Core::make('debugbar/time')->stopMeasure('longop');