PHP code example of martinmdev / php-debug

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

    

martinmdev / php-debug example snippets




artinm\Debug\DebugHelper;

DebugHelper::create()->a('http://example.com/foo/bar');

// prints:
// <a href="http://example.com/foo/bar" target="_blank">http://example.com/foo/bar</a><br />


vd([
    'x' => 1,
]);

// prints:
//  array(1) {
//     'x' =>
//     int(1)
//   }

shell script
composer