sfKrumoPlugin - 1.0.3

Nice replacement to print_r() and var_dump() functions.

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to the Plugins Home


Forgot your password?
Create an account



advanced search
Information Readme Releases Changelog Contribute
Show source


The sfKrumoPlugin is a symfony plugin that uses Krumo (http://krumo.sourceforge.net/) to implement a nice replacement for print_r() and var_dump() functions.


  • Install the plugin (via a package)

    symfony plugin:install sfKrumoPlugin
  • Activate the plugin in the config/ProjectConfiguration.class.php

    class ProjectConfiguration extends sfProjectConfiguration
      public function setup()

How to use

  • Here's a basic PHP example, which will return a report on the array variable passed as argument to it

    krumo(array('a1'=> 'A1', 3, 'red'));
  • You can dump simultaneously more then one variable - here's another PHP example:

    krumo($_SERVER, $_ENV);