PHPackages                             artbyrab/printar - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. artbyrab/printar

ActiveLibrary

artbyrab/printar
================

Print your objects and arrays with ease with Printar, a print\_r output formatter

v1.0.0(7y ago)019BSD-3-ClausePHPPHP &gt;=5.5

Since Mar 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/artbyrab/printar)[ Packagist](https://packagist.org/packages/artbyrab/printar)[ RSS](/packages/artbyrab-printar/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Printar a PHP print\_r output formatter
=======================================

[](#printar-a-php-print_r-output-formatter)

[![Image](files/graphics/bitmap-logo-large.png?raw=true)](files/graphics/bitmap-logo-large.png?raw=true)

Print your objects and arrays with ease with Printar, a print\_r output formatter.

What is worse than debugging your code? Yep, you guessed it typing out pre and pre every time you want to print something out. So with that in mind i have created Printar. Printar makes it easy to print your arrays and objects with the pre tags automatically wrapped.

Requirements
------------

[](#requirements)

- PHP 5.5 +

Features
--------

[](#features)

- Will save your from developing arthiritus in your fingers from typing pre
- Using Printar will cost you nothing!
- You can easily extend Printar with your own personality stamp(not that you will need it Printar has enough already!)
- Waa! You're still reading this, quit aleady and get using Printar!

Installation
------------

[](#installation)

The reccomended way to install is via Composer. Either install in the project via terminal

```
$ composer require artbyrab/printar:~1.0

```

or add it to your composer.json file

```
"artbyrab/printar": "~1.0"

```

Usage
-----

[](#usage)

Using Printar is super simple.

### 1) Include Printar into your page:

[](#1-include-printar-into-your-page)

```
use artbyrab\printar\Printar;

```

### 2)Render your variable:

[](#2render-your-variable)

```
Printar::render($array);

```

That is it!

Extending Printar
-----------------

[](#extending-printar)

Woah you can extend Printar? Of course you can and what is more it's incredibly simple!

Resources
=========

[](#resources)

- [Extending Guide](documents/extending.md)
- [Running Tests](documents/running-tests.md)
- [Code Checks](documents/code-checks.md)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2617d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f2dc69cfe3b274740e7a38c64f9f46418da84be38adfd56338ddb4032bea43e9?d=identicon)[artbyrab](/maintainers/artbyrab)

---

Top Contributors

[![artbyrab](https://avatars.githubusercontent.com/u/3499964?v=4)](https://github.com/artbyrab "artbyrab (14 commits)")

---

Tags

phpcomposerpackagedebuggingprint\_rpreprintar

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/artbyrab-printar/health.svg)

```
[![Health](https://phpackages.com/badges/artbyrab-printar/health.svg)](https://phpackages.com/packages/artbyrab-printar)
```

###  Alternatives

[codedungeon/php-cli-colors

Liven up you PHP Console Apps with standard colors

10210.1M26](/packages/codedungeon-php-cli-colors)[netojose/laravel-bootstrap-4-forms

Bootstrap 4 form builder for Laravel 5

182115.3k](/packages/netojose-laravel-bootstrap-4-forms)[jbzoo/jbdump

Script for debug and dump PHP variables and other stuff. This tool is a nice replacement for print\_r() and var\_dump() functions.

211.1M3](/packages/jbzoo-jbdump)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
