PHPackages                             jeremykendall/debug-die - 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. jeremykendall/debug-die

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

jeremykendall/debug-die
=======================

Convenience wrapper around var\_dump() and die(var\_dump())

0.0.1(11y ago)07.7k2MITPHPPHP &gt;=5.3.2

Since Jan 12Pushed 11y ago1 watchersCompare

[ Source](https://github.com/jeremykendall/debug-die)[ Packagist](https://packagist.org/packages/jeremykendall/debug-die)[ Docs](https://github.com/jeremykendall/debug-die)[ RSS](/packages/jeremykendall-debug-die/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (2)

Debug Helper
============

[](#debug-helper)

Debug Helper is a set of convenience functions that wrap `var_dump()` and `die(var_dump())`. Because lazy.

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

[](#installation)

Use [Composer](http://getcomposer.org) to install Debug Helper.

```
{
    "require": {
        "jeremykendall/debug-die": "*"
    }
}

```

d() and dd()
------------

[](#d-and-dd)

`d()` and `dd()` wrap `var_dump()` and `die(var_dump())`, respectively. Both functions use the same method signature as [`var_dump()`](http://php.net/var_dump), meaning you can pass more than one argument to the functions and each argument will be dumped individually.

`void d ( mixed $expression [, mixed $... ] )``void dd ( mixed $expression [, mixed $... ] )`

An example usage is available in [example.php](example.php).

```
