Zend Framework debug bar!

Finally, a debug bar for Zend Framework: Scienta ZF Debug Bar. It’s easy to install and I’m loving it! All it takes to install is:

  • copy the scienta folder into your library
  • add some code to your bootstrap and include your database connection
  • run your app!

Get the debug bar here, including installation instructions.

Debug bar example:
Scienta debugbar

That’s it! Easy as pie. It will display a nicely styled debug bar at the bottom of your screen. It displays the following information:

  • Zend Framework version
  • All variables (request and view vars)
  • Number of queries and the execution time of those (individually and the sum of all queries).
  • Full SQL of your (MySQL) queries
  • Peak memory usage
  • Execution time (including all the custom made scripts which were executed: your controllers, views, and (view) helpers.
  • Errors

All these can be turned on and off in the bootstrap.

The debug bar already helped me speed up some of my Zend Framework apps. I noticed some describe queries in my app, which apparently can be cached.



One Response to “Zend Framework debug bar!”

  1. JamesD zegt:

    Thanks for the useful info. It’s so interesting

Geef hieronder je reactie