PHPackages                             hakre/print\_r-converter - 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. hakre/print\_r-converter

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

hakre/print\_r-converter
========================

The Print\_r Converter - a PHP tool that is able to convert `print\_r()`-output into PHP code.

0.2.2(5y ago)26165[1 issues](https://github.com/hakre/print_r-converter/issues)AGPL-3.0-or-laterPHPPHP &gt;= 7.3

Since Jul 23Pushed 5y ago2 watchersCompare

[ Source](https://github.com/hakre/print_r-converter)[ Packagist](https://packagist.org/packages/hakre/print_r-converter)[ RSS](/packages/hakre-print-r-converter/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Print\_r Converter
==================

[](#print_r-converter)

The Print\_r Converter - a PHP tool that is able to convert `print_r()`-output into PHP code.

[![print_r converser screenshot](screen.png)](screen.png)

It has grown out of Stackoverflow where users were pasting array data from [`print_r()`](http://php.net/print_r) in their questions.

Getting Started
---------------

[](#getting-started)

Clone the project and start serving from the public directory:

```
composer create-project hakre/print_r-converter
php -S localhost:8106 -t print_r-converter/public

```

Then open Print\_r Converter in your browser:

```
http://localhost:8106/

```

Trivia
------

[](#trivia)

- [Webarto](http://stackoverflow.com/users/424004/webarto) did kindly host it publicly in the past.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity37

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1850d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/378849?v=4)[hakre](/maintainers/hakre)[@hakre](https://github.com/hakre)

---

Top Contributors

[![hakre](https://avatars.githubusercontent.com/u/378849?v=4)](https://github.com/hakre "hakre (9 commits)")

### Embed Badge

![Health badge](/badges/hakre-print-r-converter/health.svg)

```
[![Health](https://phpackages.com/badges/hakre-print-r-converter/health.svg)](https://phpackages.com/packages/hakre-print-r-converter)
```

###  Alternatives

[lstrojny/functional-php

Functional primitives for PHP

2.0k7.6M51](/packages/lstrojny-functional-php)[stevebauman/location

Retrieve a user's location by their IP Address

1.3k8.9M97](/packages/stevebauman-location)[symfony/ldap

Provides a LDAP client for PHP on top of PHP's ldap extension

1408.3M62](/packages/symfony-ldap)[ondrejmirtes/better-reflection

Better Reflection - an improved code reflection API

137.9M5](/packages/ondrejmirtes-better-reflection)[avram/vokativ

Library used to convert first names from Serbian language into their vocative case.

1319.9k](/packages/avram-vokativ)

PHPackages © 2026

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