Created
July 29, 2014 23:12
-
-
Save AlexMihov/1501dd1272fb34c8ba48 to your computer and use it in GitHub Desktop.
PHP Debug Bar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use DebugBar\StandardDebugBar; | |
$debugbar = new StandardDebugBar(); | |
$debugbarRenderer = $debugbar->getJavascriptRenderer(); | |
$debugbar["messages"]->addMessage("hello world!"); | |
?> | |
<html> | |
<head> | |
<?php echo $debugbarRenderer->renderHead() ?> | |
</head> | |
<body> | |
... | |
<?php echo $debugbarRenderer->render() ?> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment