PHP code example of c0de8 / phalcon3-debug-widget

1. Go to this page and download the library: Download c0de8/phalcon3-debug-widget 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/ */

    

c0de8 / phalcon3-debug-widget example snippets


defined('PHALCONDEBUG') || define('PHALCONDEBUG', true);

if (PHALCONDEBUG) {
    $debugWidget = new \PDW\DebugWidget($di, [
        'db'          => ['dbRead', 'dbWrite],
        'dispatch'    => ['dispatcher'],
        'view'        => ['view'],
        'apiProvider' => ['apiProvider']
    ], [
        'server',
        'request',
        'views',
        'db',
        'api'
    ]);
}