PHP code example of bafs / booboo

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

    

bafs / booboo example snippets




$runner = new League\BooBoo\Runner();
$runner->register(); // Registers the handlers



$runner->pushFormatter(new League\BooBoo\Formatter\HtmlFormatter());



$html = new League\BooBoo\Formatter\HtmlFormatter();
$null = new League\BooBoo\Formatter\NullFormatter();

$html->setErrorLimit(E_ERROR | E_WARNING | E_USER_ERROR | E_USER_WARNING);
$null->setErrorLimit(E_ALL);

$runner->pushFormatter($null);
$runner->pushFormatter($html);