Choose the right tools for your Magento project

Magento can be hard. We all know it. We can make your work easier by picking the right tools. I wanted to share with you the stuff I am using in my last project. And which, IMO, should the MUST-BE in every Magento installation.

PHP-Error

https://github.com/panrafal/PHP-Error

Better error display.

My hack for it https://gist.github.com/piotrbelina/10d5544c5fc872ec2a77

Aoe Advanced Template Hints

http://www.fabrizio-branca.de/magento-advanced-template-hints-20.html

Very informative hints. Easy to switch on / off – just add ?ath=1 to URL.

Magneto Debug

https://github.com/madalinoprea/magneto-debug

Just like Symfony debug toolbar.

Aoe Magento Profiler

http://www.fabrizio-branca.de/magento-profiler.html

A wrapper for default magento profiler. Easy to switch on / off – just add ?profile=1 to URL. Scoping included

Magento Advanced Logging

https://github.com/magento-hackathon/Logger

My today’s discovery. Log produces for it is a lot more informative. + email and other notifiers.

2013-05-24T13:06:01+00:00 ERR (admin): GET /index.php/admin/system_config/state/key/0bbb6c85b783912518cf1d68640ba8905f5b31b4da751ba8ff38a410273f20ce/?isAjax=true&container=logger_advanced&value=1&form_key=NVYdQ45Ser9dbmGA
REQUEST: GET|{"isAjax":"true","container":"logger_advanced","value":"1","form_key":"NVYdQ45Ser9dbmGA"}
TIME: 0.180086s
ADDRESS: 127.0.0.1
USER AGENT: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Ubuntu Chromium/25.0.1364.160 Chrome/25.0.1364.160 Safari/537.22
FILE: src/app/code/core/Mage/Core/functions.php:247
Warning: str_replace() expects at least 3 parameters, 0 given in /home/.../src/app/code/core/Mage/Core/Model/App.php on line 350

Vs standard magento log:

2013-05-24T13:05:12+00:00 ERR (3): Warning: str_replace() expects at least 3 parameters, 0 given in /home/.../src/app/code/core/Mage/Core/Model/App.php on line 350

Aoe Scheduler

http://www.fabrizio-branca.de/magento-cron-scheduler.html

Last, but not the least. Magento crontab preview.