PHPackages                             harryqt/hyperf-dumper - 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. harryqt/hyperf-dumper

ActiveLibrary

harryqt/hyperf-dumper
=====================

014PHP

Since Aug 27Pushed 8mo agoCompare

[ Source](https://github.com/harryqt/hyperf-dumper)[ Packagist](https://packagist.org/packages/harryqt/hyperf-dumper)[ RSS](/packages/harryqt-hyperf-dumper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Hyperf Dumper
=============

[](#hyperf-dumper)

A lightweight wrapper around [symfony/var-dumper](https://symfony.com/doc/current/components/var_dumper.html) for the [Hyperf](https://github.com/hyperf/hyperf) framework, offering a Laravel-style [dump()](https://laravel.com/docs/12.x/helpers#method-dump) function within Hyperf.

The package provides convenient global `hd()` and `dump()` functions — mirroring Laravel’s `dump()` — for debugging variables seamlessly in both HTTP and CLI environments.

🧩 Install
---------

[](#-install)

```
composer require harryqt/hyperf-dumper
```

🚀 Usage
-------

[](#-usage)

### In Controllers / HTTP context:

[](#in-controllers--http-context)

This will dump variables as a pretty HTML response.

```
return hd($var1, $var2, $var3);
```

### In CLI scripts:

[](#in-cli-scripts)

This will dump variables in the terminal.

```
dump($var1, $var2, $var3);
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance42

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 71.4% 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/a055a72bbc03ccb8addaedee8e8e66fc1c6c6e2831c703154152e51f9f0da6b0?d=identicon)[harryqt](/maintainers/harryqt)

---

Top Contributors

[![harryqt](https://avatars.githubusercontent.com/u/18257605?v=4)](https://github.com/harryqt "harryqt (5 commits)")[![nfangxu](https://avatars.githubusercontent.com/u/33243730?v=4)](https://github.com/nfangxu "nfangxu (2 commits)")

### Embed Badge

![Health badge](/badges/harryqt-hyperf-dumper/health.svg)

```
[![Health](https://phpackages.com/badges/harryqt-hyperf-dumper/health.svg)](https://phpackages.com/packages/harryqt-hyperf-dumper)
```

PHPackages © 2026

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