This project is not covered by Drupal’s security advisory policy.

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 using Drush

Download Kint module and Libraries module. Use drush en kint libraries command for enable module: after enabling of module Drush will prompts you about downloading of Kint library.

If you just want to download or re-download library then use drush kint-download command.

Manual installation

If you are not familiar with drush or just have no drush installed, you can always do the same as drush commands, but using hands and your luck. Just execute following steps:
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

Module usage:

This module allows to use functions:

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

Drupal 8.x version

This module is oficially part of Devel 8.x module. Just enable Devel Kint module.


Credits

Supporting organizations: 

Project information

Releases