This module offers to display methods and statics available for an object when using Kint. It was created because the Devel module maintainers decided to remove the Kint plugins responsible for showing object available methods and static class properties in version 3.0 of the module (the relevant issue).

What's the catch?

The biggest reason to remove these plugins was to prevent out-of-memory errors. So, to make sure you don't run into these when using this module, make sure to add the following snippet to your settings.php/local.settings.php:

if (class_exists('Kint')) {
  // Change the maximum depth to prevent out-of-memory errors.
  \Kint::$max_depth = 4;
}

In Kint 4 this setting was renamed, so if you're using that version use the following snippet:

if (class_exists('Kint')) {
  // Change the maximum depth to prevent out-of-memory errors.
  \Kint::$depth_limit= 4;
}

Configuration

Enable the module as usual. This will replace the default Kint dumper and should work without any other configuration.

Supporting organizations: 
Maintenance of the module

Project information

Releases