Projects/ Pre.php

Pre is an open source project I developed out of personal necessity, described as "a handsome replacement for print_r & var_dump."  Debugging output in the browser is common in web development, and as is often the case with PHP, the built-in functions leave something to be desired.  Pre is a tiny Composer package that renders PHP objects in a minimally styled but maximally useful <pre> block.  It improves on existing PHP functionality by legibly displaying data types, lengths, class visibility, NULL and boolean values.  It also offers a queue for consolidating data throughout execution.

Github/Pre.php