Skip to content

undg/var_dumpphp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

var_dumpPHP

Javascript extension to style PHP's var_dump with xdebug.

var_dump's are positioned absolute on top of the page. You can hide each of them by clicking on it.

Instalation

Install it with npm, and include in your source like any node package:

npm install --save var_dump_php

Or download it and put this directly in html

    <script type="module">
      import var_dump from './var_dumpphp.js'
      document.addEventListener('DOMContentLoaded', var_dump)
    </script>

Dependencies

https://xdebug.org Xdebug is an extension for PHP and have to by installed. It upgrades PHP's var_dump() function.

Screenshoot

screenshoot

About

Better display of var_dump() while debugging php code

Resources

Stars

Watchers

Forks

Packages

No packages published