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

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

clean/mpr
=========

Prints human-readable information about a variable

1.0.0(9y ago)02881Apache-2.0PHP

Since Apr 16Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (1)

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

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

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

3318d 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/clean-mpr/health.svg)

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

###  Alternatives

[coldtrick/user_support

Offers different community master features to support your users

142.4k](/packages/coldtrick-user-support)

PHPackages © 2026

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