ptrofimov / war_dump

Web-console for PHP var_dumps and errors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

war_dump

Web-console for PHP var_dumps and errors

How it works

war_dump scheme

Benefits

  • Hides all var_dumps and errors from user's eye
  • Handy to view errors in one place
  • No changes required to your PHP files

Installation

  1. Requires jQuery
  2. Download war_dump
  3. Include it in your page
<script type="text/javascript" src="war_dump.js"></script>
  1. Enjoy!

Notice

Now it works only with XDebug-highlighted var_dumps and errors. In future it could be possible to catch all dumps and errors.

Important !!!

I am gonna implement extracting var_dumps and errors from AJAX-responses. If you'd like to be a collaborator, write me to issues.

About

Web-console for PHP var_dumps and errors


Languages

Language:PHP 70.0%Language:JavaScript 30.0%