PHP code example of mpalourdio / mpa-firephp-wrapper

1. Go to this page and download the library: Download mpalourdio/mpa-firephp-wrapper 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/ */

    

mpalourdio / mpa-firephp-wrapper example snippets


$this->firephp($mythingtolog);

$this->firephp($mythingtolog, 'warn'); // the different possibilites are log/info/warn/error

$options = [
                'maxObjectDepth'      => 3,
                'maxArrayDepth'       => 3,
                'maxDepth'            => 3,
                'useNativeJsonEncode' => true,
                '