Tip: Use aliases to quick reference Magento XML config

Magento’s merged XML config is very huge but not all parts must be referenced during development. Some parts are really important for debugging. To do this smart n98-magerun offers the “config:dump” command which prints all the merged XML config at once. As second parameter you can add an XQuery like argument.

Tip: Create a Console Helper

Since version 1.77.0 we provide an easy registration of console helpers. Console Helpers are way to share functionality with other commands. I will show you how easy it is to create such a helper. Out example helper will return the current system time. Create a new module Create a new folder in your home directory […]

Released Version 1.78.0

We deployed a new stable n98-magerun version with some internal changes which are great if you are developing custom database driven commands. The new version contains also some minor features and uncritical bugfixes. New Database Helper In some cases it’s useful to run commands directly on your database. In the past it was usual to […]

Use n98-magerun Script Repository

Since some releases we support script. Scripts are like batch files which can be executed and reused in all your local Magento installations. For everyone who is not fimilar with n98-magerun script I gave a little instruction how the scripts can be created. My first n98-magerun script Scripts can do three things… Register variables Run […]

Support for Events in n98-magerun

In version 1.77.0 we added the Symfony EventManager compontent to n98-magerun. The event manager let you hook in the core commands. Currently there are three core events which are available: console.command – Before a command runs console.terminate – After a command execution console.exception – If a command stops with an exception

Quick Tip: PhpStorm command line tool support

This quick tip shows you how easy it it to integrate n98-magerun in your PhpStorm IDE. Download n98_magerun.xml file for PhpStorm command line tool support

New release 1.76.0

The new n98-magerun release brings four bug fixes and two new commands and many internal docblock cleanups. A big thanks goes to Dmitriy Zavalkin who creates the new commands and added missing code blocks. We love to see how the community pushes the tool every week with active bug reports and pull requests on github. […]