9

Is there a good resource or tutorial which explains how to setup PhpStorm so one can develop and debug Joomla extensions (and core) with it?

I am looking for something similar to the Configuring Eclipse for Joomla! development tutorial.

A lot of people seem to be happy with it, but I struggled to get it to work and gave up.

2
  • 1
    I am using Eclipse with PDT and it's worth having comparing with paid PhpStorm.
    – dev-m
    Commented May 4, 2014 at 22:58
  • 1
    Just for reference, I use PhpEd from Nusphere. It now recognizes and works with the Joomla Framework...pretty nice. sitepoint.com/4-features-make-choose-nusphere-phped
    – GDP
    Commented Dec 1, 2014 at 17:42

2 Answers 2

7

I must admit that switching from Eclipse to PhpStorm is not the easiest (as the whole IDE is quite different) thing but it's worth the effort.

You cannot have multiple projects opened in the same IDE window, and also the Git client is not as good as the one in Eclipse (actually I find it so poor, that I am using git only from the console now). But apart from that it should be very easy to run the debugger or unit tests.

There are some video tutorials which may get you started.

PhpStorm Documentation - Video Tutorials

Apart from that, the good ol' documentation may answer your questions.

PhpStorm Web Help

1
  • I was now able to set up and use PHPStorm and the Video Tutorials were indeed very helpful to get how it's supposed to work. Thanks for that!
    – Bakual
    Commented Jun 6, 2014 at 6:36
9

So I just spent the day setting up PHPStorm for the purpose of component development. Although it was a bit of work, now that I've finished the setup my life is going to be SOOOO much easier. I don't have a tutorial to point you to, but here is the step-by-step for setting up PHPStorm with Git, VirtualBox, Vagrant, and Joomlatools/box

  1. Install PHPStorm
  2. Install git
  3. Install VirtualBox
  4. Install Vagrant
  5. Add git to your environmental variables. (If you're on windows 7 this should help)
  6. Open PHPStorm and create a new project
  7. Open the terminal and type the following:

vagrant box add joomlatools/box

8.Wait for the download to complete.Then type:

vagrant init joomlatools/box

vagrant up

Now you have a full fledged Joomla development environment with a joomla command tool for installing test sites on the fly. You can find the information about using the command tool here

I hope this helps! Happy Joomla!ng

I forgot to mention that if you run into a problem with getting the Virtual box to start up via the vagrant up command, you should set PHPStorm to run as administrator.

2
  • 1
    This is golden. Commented Jun 4, 2014 at 14:22
  • @Xerosigma I'm glad you found it useful! =^D This set up has definitely made my life easier. Commented Jun 4, 2014 at 14:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.