PhpStorm, Xdebug and zf2 on Ubuntu

After using Eclipse for over three years now, I've switched to PhpStorm. The ease of use and the small amout of time it took me te get the components from the title to work together makes this a no-brainer for me.

The version in de Ubuntu Packages was running a year behind, so I decided to install Xdebug from a git clone and build it from there.

For starters I continued work on a ZF2 project and everything is looking great. Set some breakpoints in PhpStorm, toggle the FireFox plugin to hit the breaks (note to self: check if there is a better plugin), refresh the page and start debugging. This is a really good alternative to Zend Debugger.

PhpStorm seems handle the ZF2 code better than Eclipse. I've seen that there is an option to start a new project and having PhpStorm make all the composer calls needed to set up a ZF2 project.

 

Share: