PHP code example of denosyscore / booboo

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

    

denosyscore / booboo example snippets




$booboo = new Denosys\BooBoo\BooBoo();
$booboo->register(); // Registers the handlers



$booboo->pushFormatter(new Denosys\BooBoo\Formatter\HtmlFormatter());



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

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

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