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()
anddebug_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
- Original Kint distribution by Rokas Šleinius
- Thanks to Vadim Mirgorod for inspiration, mentoring and patience :)
Project information
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - No further development
No longer developed by its maintainers. - 79 sites report using this module
- Created by alexander_danilenko on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.