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

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

faydaen/dumper
==============

Replacement of standard var\_dump function

2.0.0(1y ago)0399MITPHPPHP &gt;=8.2

Since Aug 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Faydaen/Dumper)[ Packagist](https://packagist.org/packages/faydaen/dumper)[ RSS](/packages/faydaen-dumper/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (4)Used By (0)

Dumper
======

[](#dumper)

Dumps information about a variable. Replacement of standard var\_dump function

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

[](#installation)

Install the package through [Composer](https://getcomposer.org/).

Run the Composer require command from the Terminal:

```
composer require faydaen/dumper --dev

```

Usage and samples
-----------------

[](#usage-and-samples)

### Dump scalar variables

[](#dump-scalar-variables)

Dump string

```
dd('hello');
```

Dump integer

```
dd(42);
```

Dump float

```
dd(3.14);
```

Dump bool

```
dd(true);
```

Dump null

```
dd(null);
```

### Dump arrays and objects

[](#dump-arrays-and-objects)

Dump empty array

```
dd([]);
```

Dump indexed arrays (without keys)

```
dd(['cat', 'dog', 'horse']);
```

Dump associates array

```
dd(['planet'=>'Mars', 'hasAtmosphere'=>true, 'satellites'=>2]);
```

Dump object

```
    class User {
        public $name;
        public $age;
        protected $someProtectedField;

        public function __construct (){
            $this->name = 'John Doe';
            $this->age = 32;
        }
    }
    // will be shown only public fields
    dd(new User());
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance43

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity70

Established project with proven stability

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 ~846 days

Total

3

Last Release

458d ago

Major Versions

1.1.0 → 2.0.02025-04-02

PHP version history (2 changes)1.1.0PHP &gt;=7.4

2.0.0PHP &gt;=8.2

### Community

Maintainers

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[fjogeleit/prometheus-messenger-middleware

Prometheus Middleware for the Symfony Messenger Component

2255.2k](/packages/fjogeleit-prometheus-messenger-middleware)[spatie/craft-ray

Easily debug CraftCMS projects

1638.6k](/packages/spatie-craft-ray)

PHPackages © 2026

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