barryvdh/laravel-debugbar — pull request #36 by papajoker (2013-11-18 13:45:50+00:00)
Title: event to DebugBar message

I prefer to use events, Code is less dependent
Event::fire('debugbar.info',array($_SESSION)); Debugbar::info($_SESSION);
Event::fire('debugbar.alert','error line 12!'); // Debugbar::alert("Error!");
$object=new stdClass();
$object->toto='more';
Event::fire('debugbar.debug',$object); // Debugbar::debug($object);