Title: Kint PHP Debugger
Author: Tonya Mork
Published: <strong>Juliol 28, 2015</strong>
Last modified: Març 11, 2019

---

Search plugins

![](https://ps.w.org/kint-php-debugger/assets/banner-772x250.jpg?rev=1439496)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/kint-php-debugger_e1e8f0.svg)

# Kint PHP Debugger

 By [Tonya Mork](https://profiles.wordpress.org/hellofromtonya/)

[Download](https://downloads.wordpress.org/plugin/kint-php-debugger.2.0.2.zip)

 * [Details](https://bal.wordpress.org/plugins/kint-php-debugger/#description)
 * [Reviews](https://bal.wordpress.org/plugins/kint-php-debugger/#reviews)
 *  [Installation](https://bal.wordpress.org/plugins/kint-php-debugger/#installation)
 * [Development](https://bal.wordpress.org/plugins/kint-php-debugger/#developers)

 [Support](https://wordpress.org/support/plugin/kint-php-debugger/)

## Description

This WordPress plugin is a wrapper for the [Kint](https://kint-php.github.io/kint/)
PHP Debugger utility version 1.x. Now instead of using var_dump() or print_r(), 
you simply use d() with zero, nadda, no formatting required.

Use this tool when you are debugging your website, in place of **[var_dump()](http://php.net/manual/en/function.var-dump.php)**,**
[print_r()](http://php.net/manual/en/function.print-r.php)** and **[debug_backtrace()](http://php.net/manual/en/function.debug-backtrace.php)**.

#### Handy Tools

Some handy tools just for the PHP Developer:

 * `d( $var );` to render a collapsible UI container which displays your variable
   data in “the most informative way”
 * `ddd( $var );` same as d() except that it also executes `die()` to halt execution.

Here are some variations of `d()` to give you the display you want:

 * `~d( $var );` outputs in plain text format.
 * `+d( $var );` disregards depth level limits and outputs everything
 * `!d( $var );` shows expanded rich output
 * `-d( $var );` attempts to ob_clean() the previous output (dump something inside
   of HTML)

#### Profiler

Kint even includes a naïve profiler, which can help you analyze which blocks of 
code take longer than others:

    ```
    Kint::dump( microtime() ); // just pass microtime()
    sleep( 1 );
    Kint::dump( microtime(), 'after sleep(1)' );
    sleep( 2 );
    ddd( microtime(), 'final call, after sleep(2)' );
    ```

See [screenshot 2](https://wordpress.org/extend/plugins/kint-php-debugger/screenshots/)
for what is rendered out in your browser.

### Admin Bar

“KINT ACTIVE” indicator displays in the WordPress admin bar to alert you when the
plugin is active.

## Screenshots

 * [[
 * An example of what gets rendered in the browser when using ‘d( $var )’.
 * [[
 * Profile example from Kint.
 * [[
 * “KINT ACTIVE” indicator in the WordPress admin bar.

## Installation

#### From your WordPress dashboard

 1. Visit ‘Plugins > Add New’
 2. Search for ‘Kint PHP Debugger’
 3. Activate Kint PHP Debugger from your Plugins page.

#### Once Activated

Whenever you want to dump out the data within a variable, simply use `d( $var )`
to replace when you do pre + var_dump().

To dump and die, you use `ddd( $var );`.

## FAQ

  How do I use this utility?

When you are testing your code, you use d( $var ) in place of var_dump( $var ) and
print_r( $var ). No need to wrap it in pre’s either.

  What does it render in the browser?

Kint provides a handy UI that wraps up the data within the variable. Click to open
it up and see the data.

See the [screenshot 1](https://wordpress.org/extend/plugins/kint-php-debugger/screenshots/)
for an example.

  What else does Kint provide to help me debug?

As you can see the [screenshot 1](https://wordpress.org/extend/plugins/kint-php-debugger/screenshots/),
besides the handy UI, it also provides you with a full call stack. Click on the 
text below the UI to expand it out.

  Can I run this on a live site?

I wouldn’t unless you are testing. This tool is for debug only. Once you push the
site live, deactivate and delete this plugin.

  What should I do when the site goes live?

Deactivate and delete this plugin.

## Reviews

![](https://secure.gravatar.com/avatar/bcc91aecb210e52c17fb47a2d5599b7900cd225a67496f5aa3f4ef9b75e65f1d?
s=60&d=retro&r=g)

### 󠀁[Very fine](https://wordpress.org/support/topic/very-fine-14/)󠁿

 [Adriano G. V. Esposito](https://profiles.wordpress.org/adriano-esposito/) Febrer
11, 2020

Very fine

![](https://secure.gravatar.com/avatar/c1c603b53d66ed326eb600343d03d7d84609c2c61d15be2ac156562c653c849f?
s=60&d=retro&r=g)

### 󠀁[Great PHP Debugger](https://wordpress.org/support/topic/great-php-debugger/)󠁿

 [Rita Best](https://profiles.wordpress.org/rbest/) Maig 7, 2019

The Best! I keep coming back again and again. Kint makes WordPress (PHP) development/
debugging a breeze. Save yourself time & frustration install this plugin.

![](https://secure.gravatar.com/avatar/38198027bc7caa853f68875a77144114b8e28c90c580ef9fd419e8a0291878f8?
s=60&d=retro&r=g)

### 󠀁[Useful tool](https://wordpress.org/support/topic/useful-tool-57/)󠁿

 [Mahd Ali](https://profiles.wordpress.org/mahd/) Març 21, 2019

It is a very useful tool but some people prefer a video how to use to use a tool.
Its awesome thanks

![](https://secure.gravatar.com/avatar/d1352a88eccf017505b24719496dbda9f16a2bbc5d200bdbd6e3d9ad7fb4913c?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-605/)󠁿

 [Chris Dillon](https://profiles.wordpress.org/cdillon27/) Setembre 15, 2016

Thanks for this plugin. It makes debugging my arrays of arrays of arrays much simpler.
😉

![](https://secure.gravatar.com/avatar/2ce24492279223e09e666c760384573bc045d78af32a1459b8fcf341f7ab56a1?
s=60&d=retro&r=g)

### 󠀁[Useful](https://wordpress.org/support/topic/useful-307/)󠁿

 [Pär Thernström](https://profiles.wordpress.org/eskapism/) Setembre 3, 2016

Really like to debug with Kint, and this plugin makes it much easier.

![](https://secure.gravatar.com/avatar/491ed48fd8a75eeb3bb528590e751e8ba66ae0ce5869d04e60da28065ac3b1db?
s=60&d=retro&r=g)

### 󠀁[Indispensable plugin](https://wordpress.org/support/topic/indispensable-plugin-5/)󠁿

 [Rose](https://profiles.wordpress.org/rosecox/) Setembre 3, 2016

Love this plugin, saves hours of time in development.

 [ Read all 12 reviews ](https://wordpress.org/support/plugin/kint-php-debugger/reviews/)

## Contributors & Developers

“Kint PHP Debugger” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Tonya Mork ](https://profiles.wordpress.org/hellofromtonya/)

[Translate “Kint PHP Debugger” into your language.](https://translate.wordpress.org/projects/wp-plugins/kint-php-debugger)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/kint-php-debugger/),
check out the [SVN repository](https://plugins.svn.wordpress.org/kint-php-debugger/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/kint-php-debugger/)
by [RSS](https://plugins.trac.wordpress.org/log/kint-php-debugger/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### Version 2.0.2

 * Bump to sync versions.

#### Version 2.0.1

 * Removed changing the admin color palette to coffee.
 * Removed changing the admin bar background color.

#### Version 2.0.0

 * Updated Kint version.
 * Tested against WP 5.1

#### Version 1.2.1

 * Added “KINT ACTIVE” indicator to the WordPress admin bar to alert the plugin 
   is activated.

#### Version 1.2.0

 * Excluded Composer files.
 * Tested with WordPress 5.1.

#### Version 1.1.0 to 1.1.4

 * Changed to the kint-php package
 * Upgraded Kint to v1.1

#### Version 1.0.1

 * Upgraded Kint to v1.0.10

#### Version 1.0.0

 * First release

## Meta

 *  Version **2.0.2**
 *  Last updated **7 anys ago**
 *  Active installations **100+**
 *  WordPress version ** 3.5 or higher **
 *  Tested up to **5.1.22**
 *  PHP version ** 5.3 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/kint-php-debugger/)
 * Tags
 * [debug](https://bal.wordpress.org/plugins/tags/debug/)[debugger](https://bal.wordpress.org/plugins/tags/debugger/)
   [kint](https://bal.wordpress.org/plugins/tags/kint/)[print_r](https://bal.wordpress.org/plugins/tags/print_r/)
   [var_dump](https://bal.wordpress.org/plugins/tags/var_dump/)
 *  [Advanced View](https://bal.wordpress.org/plugins/kint-php-debugger/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/kint-php-debugger/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/kint-php-debugger/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/kint-php-debugger/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/kint-php-debugger/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/kint-php-debugger/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/kint-php-debugger/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/kint-php-debugger/reviews/)

## Contributors

 *   [ Tonya Mork ](https://profiles.wordpress.org/hellofromtonya/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/kint-php-debugger/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://hellofromtonya.com)