PHPackages                             pkboom/dump-variable - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. pkboom/dump-variable

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

pkboom/dump-variable
====================

Dump with variable name

0.0.4(4y ago)011MITPHPPHP ^8.0

Since Feb 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/pkboom/dump-variable)[ Packagist](https://packagist.org/packages/pkboom/dump-variable)[ Docs](https://github.com/pkboom/dump-variable)[ RSS](/packages/pkboom-dump-variable/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Dump variable
=============

[](#dump-variable)

Sometimes you might want to dump a variable with a name in php in the same way js does:

```
let name = "foo";

console.log({ name });

// { name: 'foo'}
```

You can do this with `dv()` or `dvd()` in php:

```
$name = 'foo';

// dump with variable
dv($name);

// dd with variable
dvd($name);

// [ '$name' => 'foo' ]
```

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

[](#installation)

```
composer require pkboom/dump-variable --dev
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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

Every ~0 days

Total

4

Last Release

1556d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a5c267544335ffc241b0287e8fe001a7c2cc8e466be886226fce5c744f2e1abe?d=identicon)[pkboom](/maintainers/pkboom)

---

Top Contributors

[![pkboom](https://avatars.githubusercontent.com/u/13960169?v=4)](https://github.com/pkboom "pkboom (6 commits)")

---

Tags

pkboomdump-variable

### Embed Badge

![Health badge](/badges/pkboom-dump-variable/health.svg)

```
[![Health](https://phpackages.com/badges/pkboom-dump-variable/health.svg)](https://phpackages.com/packages/pkboom-dump-variable)
```

###  Alternatives

[symfony/debug-bundle

Provides a tight integration of the Symfony VarDumper component and the ServerLogCommand from MonologBridge into the Symfony full-stack framework

2.4k115.8M824](/packages/symfony-debug-bundle)[php-debugbar/php-debugbar

Debug bar in the browser for php application

4.4k21.3M40](/packages/php-debugbar-php-debugbar)[spatie/laravel-ignition

A beautiful error page for Laravel applications.

573146.7M471](/packages/spatie-laravel-ignition)[spatie/ignition

A beautiful error page for PHP applications.

511147.6M69](/packages/spatie-ignition)[laradumps/laradumps-core

LaraDumps is a friendly app designed to boost your Laravel / PHP coding and debugging experience.

261.2M13](/packages/laradumps-laradumps-core)[symfony/ai-mate

AI development assistant MCP server for Symfony projects

1624.9k11](/packages/symfony-ai-mate)

PHPackages © 2026

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