PHPackages                             iamjohndev/var-print-prettifier - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. iamjohndev/var-print-prettifier

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

iamjohndev/var-print-prettifier
===============================

A PHP class for prettifying print\_r and var\_dump output

110PHP

Since Apr 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/PseudoDevs/VarPrintifier)[ Packagist](https://packagist.org/packages/iamjohndev/var-print-prettifier)[ RSS](/packages/iamjohndev-var-print-prettifier/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

VarPrintifier
=============

[](#varprintifier)

A PHP package that provides a simple and easy-to-use function to pretty print variables for debugging purposes.

[![Printifier](https://camo.githubusercontent.com/73a95848b78ef0f691b9e447a34182ffdc3bf6933cb7d15263fcec2100a04cbd/68747470733a2f2f692e6962622e636f2f37703073594d792f5661722d5072696e7469666965722e706e67)](https://camo.githubusercontent.com/73a95848b78ef0f691b9e447a34182ffdc3bf6933cb7d15263fcec2100a04cbd/68747470733a2f2f692e6962622e636f2f37703073594d792f5661722d5072696e7469666965722e706e67)

Installation
============

[](#installation)

This package can be easily installed using Composer. Run the following command to add it to your project's dependencies:

`composer require iamjohndev/var-print-prettifier`

Usage
=====

[](#usage)

```
use iamjohndev\VarPrintPrettifier;

$data = [
    'name' => 'John Doe',
    'age' => 30,
    'email' => 'johndoe@example.com',
    'address' => [
        'street' => '123 Main St',
        'city' => 'Anytown',
        'state' => 'CA',
        'zip' => '12345'
    ]
];

VarPrintifier::var_dump($data);
VarPrintifier::print_r($data);
```

The dump method pretty prints the given variable in a human-readable format. It can be used to debug complex data structures and objects.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![PseudoDevs](https://avatars.githubusercontent.com/u/28098260?v=4)](https://github.com/PseudoDevs "PseudoDevs (18 commits)")

### Embed Badge

![Health badge](/badges/iamjohndev-var-print-prettifier/health.svg)

```
[![Health](https://phpackages.com/badges/iamjohndev-var-print-prettifier/health.svg)](https://phpackages.com/packages/iamjohndev-var-print-prettifier)
```

###  Alternatives

[iconify/json

Iconify icons collection in JSON format

95655.3k12](/packages/iconify-json)[laravel-admin-ext/helpers

Helpers extension for laravel-admin

136285.0k8](/packages/laravel-admin-ext-helpers)[alibabacloud/dysmsapi-20170525

Alibaba Cloud Dysmsapi (20170525) SDK Library for PHP

18408.4k33](/packages/alibabacloud-dysmsapi-20170525)[shopsys/coding-standards

Coding standards definition compatible with PSR-2

20269.1k13](/packages/shopsys-coding-standards)[pirsch-analytics/laravel-pirsch

Official Laravel integration for Pirsch Analytics.

4746.1k2](/packages/pirsch-analytics-laravel-pirsch)[laravie/geotools

Geo-related tools PHP 7+ library

19105.4k1](/packages/laravie-geotools)

PHPackages © 2026

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