Print Array nicely

Maintainers

Details

github.com/miamiruby/pr

Source

Issues

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/miamiruby/pr

1.0.2 2020-07-23 16:12 UTC

This package is auto-updated.

Last update: 2025-09-24 03:34:09 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.