Magicento – PhpStorm plugin for Magento development

magicento main

This post is intended for all Magento developers who use PhpStorm as their IDE. It’s about Magicento – free PhpStorm plugin for Magento developers.
Features in Magicento:

1. Goto

Magicento extends PhpStorm goto functionality in a way that you can now use goto also for factory methods and templates. You can go to destination class from factory method by using middle click (Ctrl+click, Ctrl+B).

Also, at the same way, you can go to any phtml template from layout xml file.

Clicking at any Mage::dispatchEvent call brings you to observer definition for corresponding event.

2. Class recognition for objects

You can use Alt+M (Option+M) to assign class for certain object that is defined through factory method. That is very useful for code completion.

3. Creating modules

Click Alt+M (Option+M) -> Create Module anywhere in a file to save time while creating Magento modules.

More about Magicento features and installation you can find at official Magicento website.
I hope this post will be useful for all Magento developers that use PhpStorm.

13
Top

Care to rate this post?

Author

Zvonimir Buric

Ex. Inchooer

Zvonimir worked at Inchoo in 2012 and 2013 as a backend developer.

Other posts from this author

Discussion 13 Comments

Add Comment
  1. Fra

    Very nice :).
    I was thinking about something like that some month ago.

    … but …
    I’m very disappointed because you develop that for the paid PhpStorm and not for the frees NetBeans or Eclipse :(

  2. Dinko

    I use PHPed. For now it gives me everything I need.

  3. Fra

    PHPed it is a paid ide as well and for the more it is only for windows … 2 reason to don’t use it

  4. I switched to PhpStorm because of Magicento. This is awesome plugin, that can save a lot of time!

  5. Fra

    @Snowcore:
    you are right this kind of integration is what makes people love IDE like VStudio.
    I was thinking to write something similar for NetBeans but I would me my first attempt to write an extension for NB an my Java is not so fresh :)

  6. Oh man, great! Thanks a lot for this Post. I Checked out the Plug-In and it is great. Best choise on the market for now. I have looked a lot for something similar. Just great

    Thanks and greetz

  7. Really nice one which I am looking for
    going to try this
    thanks Zvonimir for sharing this

  8. Using phpstorm, xdebug and magicento now for a while, i love it.

  9. Thanks Zvonimir for sharing this.
    How I comment on magicento.com, the plugin was developed for PHPStorm because is the IDE that I use, I don’t have any special relation with Jetbrains (moreover I’ve paid their IDE like everybody).
    I know this could be a drawback for some people, but I can guarantee you will code much faster with PHPStorm + Magicento, and hence save time and money (if the plugin saves you just 10min/day… do the maths ^_^)

    Please check the videos on magicento.com to see the full list of features and how to use them.

  10. There are lot of features include for Magento development like autocomplete for factories, xml files and class names, documentation for xml nodes, evaluation of PHP code inside Magento environment.

  11. Gershon

    Funny that magicento turned me on to phpstorm which i now believe to be the best php IDE i ever used.

    Does anyone know if magicento works with phpstorm 6 as well? I don’t want to update before i know it works properly.

  12. Tobias

    These are truly great ideas in on the topic of blogging. You have touched some nice points here.

    Anyway keep up wrinting.

  13. @Gershon:

    Yes it seems to work under PhpStorm 6.0. Magicento 1.6 is cool.

Add Your Comment

Please wrap all source codes with [code][/code] tags.
Top