php debugbar quick start

Solutions on MaxInterview for php debugbar quick start by the best coders in the world

showing results for - "php debugbar quick start"
Victoria
21 Jan 2016
1<?php
2use DebugBar\StandardDebugBar;
3
4$debugbar = new StandardDebugBar();
5$debugbarRenderer = $debugbar->getJavascriptRenderer();
6
7$debugbar["messages"]->addMessage("hello world!");
8?>
9<html>
10    <head>
11        <?php echo $debugbarRenderer->renderHead() ?>
12    </head>
13    <body>
14        ...
15        <?php echo $debugbarRenderer->render() ?>
16    </body>
17</html>