PHP code example of callmeleon167 / debugphp

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

    

callmeleon167 / debugphp example snippets


use DebugPHP\Debug;

// 1. Initialize with your session token from the dashboard
Debug::init('your-session-token');

// 2. Send anything
Debug::send('Hello DebugPHP!');
Debug::send($user);
Debug::send($request->all());

Debug::init('your-session-token', [
    'host' => 'http://localhost:8787',
]);

Debug::init('your-session-token', [
    'dockerized' => true,
]);