Experimental project

This is a sandbox project, which contains experimental code for developer use only.

What is it?

Kint for PHP is a tool designed to present your debugging data in the absolutely best way possible.

In other words, it's var_dump() and debug_backtrace() on steroids. Easy to use, but powerful and customizable. An essential addition to your development toolbox.

This module allows to use kint($data) like as dpm()/dsm()/krumo() in Devel module.

Installation

1. Download Kint module and Libraries module
2. Download Kint library
3. Put it in libraries folder (usualy it is in sites/all/libraries folder)
4. Rename folder to kint if needed.
So you should have this path: sites/all/libraries/kint/Kint.class.php
5. Enable module

OR
1. Download Kint module and Libraries module
2. Use drush pm-enable (drush en) command for enable module: after enabling of module Drush will prompts you about downloading of Kint library.
3. If you just want to download or redownload library - use drush kint-download command.

Usage:

This module allows to use functions:

  • kint($data1, $data2, $data3, ...);
  • kint_trace();

Credits

Project Information