PHP code example of ismail0234 / phalcon-bb-debugger

1. Go to this page and download the library: Download ismail0234/phalcon-bb-debugger 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/ */

    

ismail0234 / phalcon-bb-debugger example snippets


composer 



$loader = new \Phalcon\Loader();

/* BB DEBUGGER V1.0.2 */
if ($config->application->developerMode) {

    $namespaces = array_merge($loader->getNamespaces(), array('BBDebugger'=> $config->application->libraryDir . 'BBDebugger'));
    $loader->registerNamespaces($namespaces)->register();
    $bbdebugger = new \BBDebugger\BBDebugger($di);
    $bbdebugger->start();
    
}