PHPackages                             lg-utils/print\_r\_tree - 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. lg-utils/print\_r\_tree

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

lg-utils/print\_r\_tree
=======================

Dump variable as tree, with open-close areas

01PHP

Since Aug 6Pushed 9mo agoCompare

[ Source](https://github.com/LucasGIRARD/print_r_tree)[ Packagist](https://packagist.org/packages/lg-utils/print_r_tree)[ RSS](/packages/lg-utils-print-r-tree/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Created by Lucas GIRARD ()
===================================================

[](#created-by-lucas-girard-contactlucas-girardfr)

Quick Start
===========

[](#quick-start)

**print\_r\_tree($myvars);****print\_r\_tree(get\_defined\_vars());****print\_r\_tree(get\_defined\_functions());**

Description
===========

[](#description)

Print all kind of data for debug Lighter and older version of kint if you something fast and simple, then use this, either use [kint](https://packagist.org/packages/kint-php/kint)

Posted by bob on [php manual comment](https://www.php.net/manual/en/function.print-r.php#90759)Edited by me for php support

i did not found on composer so i posted it

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance41

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity13

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/d8748772fec594014e48125bfa694d95caef19fa7598c25c21f11af3e405c16a?d=identicon)[contact@lucas-girard.fr](/maintainers/contact@lucas-girard.fr)

---

Top Contributors

[![LucasGIRARD](https://avatars.githubusercontent.com/u/8878939?v=4)](https://github.com/LucasGIRARD "LucasGIRARD (1 commits)")

### Embed Badge

![Health badge](/badges/lg-utils-print-r-tree/health.svg)

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

PHPackages © 2026

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