Print Array nicely

1.0.2 2020-07-23 16:12 UTC

This package is auto-updated.

Last update: 2024-09-24 01:05:44 UTC


README

by

Introduction

A brief summarization of what PR is:

pr stops you having to use print_r to debug all the dam time

Other tools do this better... we just like KISS and Simple

Features

  • Print var with pre tags

Installation

composer require miamiruby/pr

Usage

Example:

$moo = array('Mike' => 'evil','Mary' => 'good');
pr($moo);

Output:
<pre>
array(
  'Mike' => 'evil',
  'Mary' => 'good'
)
</pre>

Contributing

Please refer to CONTRIBUTING.md for information on how to contribute to PR.