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 wget https://raw.github.com/netz98/n98-magerun/master/autocompletion/phpstorm/n98_magerun.xml

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. […]

Quick Tip: Command Alias

Every developer is using n98-magerun in a different way. Some uses the cache:clear command multiple times a day. For this we have support for command aliases to simplify the usage. Making aliases is nearly the same as unix bash aliases. You define an alias and n98-magerun will run the alias instead. Register alias Aliases can […]

New release 1.75.0

A new n98-magerun release spreads the world. Here are some details about the new release: Internal Symfony packages updated The Symfony compontents i.e. the embedded Console component are all updated to current release 2.3.3. The console component comes with a new table helper. We replaced all internal calls to our table helper to the new […]

Reset admin user password

This is only a quick tip. But in some cases you need to reset a admin user password i.e. if you imported a dump as developer and have no admin credentials. There are two commands for that. Create a new admin user $ n98-magerun.phar admin:user:create Creates a new admin user in interactive mode. Change password […]

Customize database dump for development

Sometimes it’s useful to dump a production database and import them on a local developer workstation. In this case we have some issue to solve. Legal Issues A production database contains many critical privacy data like customer addresses, email, hashed password, orders which can produce big trouble if a hacker or someone can access it. […]

Dynamically disable n98-magerun commands

In some cases you like to disable your commands i.e if you are running n98-magerun on a production machine or if it doesn’t support the entire operating system. The symfony command component have a simple solution for that. All commands are extended from the symfony command base class Symfony\Component\Console\Command which defines the method isEnabled for […]