PHPackages                             romannowicki/mpr - 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. romannowicki/mpr

Abandoned → [clean/mpr](/?search=clean%2Fmpr)Library[Utility &amp; Helpers](/categories/utility)

romannowicki/mpr
================

Prints human-readable information about a variable

1.0.0(9y ago)05673Apache-2.0PHP

Since Apr 16Pushed 9y ago1 watchersCompare

[ Source](https://github.com/clean/mpr)[ Packagist](https://packagist.org/packages/romannowicki/mpr)[ RSS](/packages/romannowicki-mpr/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (3)

mpr
===

[](#mpr)

My print\_r - debug function

Prints human-readable information about a variable

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

[](#installation)

via [Composer](https://packagist.org/packages/clean/mpr)

Example of Usage
----------------

[](#example-of-usage)

Dump variable and continue

```
mpr($variable);
```

Dump variable and exit

```
mpr($variable, 1);
```

When second parameter given you will get information from which file mpr was called

```
Who called me: mpr/test.php line 14

```

Output
------

[](#output)

### Objects

[](#objects)

```
--MPR--Foo Object
(
    [name] => Foo
    [data:protected] => Array
        (
            [0] => 1
            [1] => 2
            [2] => 3
            [3] => 4
        )

)
```

### Array

[](#array)

```
--MPR--Array
(
    [x] => Hello
    [y] => Array
        (
            [0] => 1
            [1] => 2
            [2] => 3
            [3] => 4
        )

    [z] => stdClass Object
        (
            [0] => a
            [1] => b
            [2] => c
        )

)
```

### Scalar

[](#scalar)

```
--MPR--string(5) "Hello"
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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

3365d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/21d3fe3ceb74869ffa1dd2ca9aac14d6df3e9e4209cfa8ed9c602875d590959b?d=identicon)[romannowicki](/maintainers/romannowicki)

---

Top Contributors

[![peengle](https://avatars.githubusercontent.com/u/305179?v=4)](https://github.com/peengle "peengle (6 commits)")[![perform-group](https://avatars.githubusercontent.com/u/14273063?v=4)](https://github.com/perform-group "perform-group (2 commits)")

### Embed Badge

![Health badge](/badges/romannowicki-mpr/health.svg)

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

###  Alternatives

[bitbull/magento2-module-instagramwidget

Instagram stream for Magento2

259.0k](/packages/bitbull-magento2-module-instagramwidget)[escalated-dev/escalated-laravel

An embeddable support ticket system for Laravel applications

263.9k3](/packages/escalated-dev-escalated-laravel)[naffiq/telegram-channel-php

Post to your telegram channel with ease!

124.4k](/packages/naffiq-telegram-channel-php)

PHPackages © 2026

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