views:

926

answers:

12

What tools are available for developing PHP programs. I'm particularly looking for something that can hook into Drupal so you can step through code and add breakpoints. Basically, a Visual Studio for PHP would be the best. Anyone know of this? Can you guys maybe mention what you currently use (even if it's just mentioning the text editor)? What is the industry standard?

+10  A: 

There is an article on how to configure eclipse/pdt for drupal on drupal.org: Configuring Eclipse

You may also want to take a look at the complete list for development tools, as there are a lot of tools listed you may find helpful.

FrankS
+1 for those resources
Randell
+1 for Eclipse PDT. You may want to check out nWire for PHP. It makes it easier to dive into massive amounts of existing code: http://www.nwiresoftware.com/products/nwire-php
zvikico
+7  A: 

NetBeans with XDebug.

Joonas Pulakka
+1 Netbeans PHP support is excellent and keeps improving.
Mark Davidson
NetBeans and Eclipse are both great. I found NetBeans to be a bit slower than Eclipse, and that's why I'm using the latter.
Palantir
just download the development version, not the stable one
gpilotino
+3  A: 

Eclipse is a great ide. Can step through code in debugging using e.g xdebug. Code completion is good

David Archer
A: 

If you would like to pay $399 for a year of subscription, you may try Zend Studio. Actually a good text editor like vim and emacs (I personally use vim) is fairly enough for PHP development I think.

forcey
How would you compare Zend with Eclipse?
RD
Actually Zend Studio is not something new: it's based on Eclipse.
forcey
Not necessarily: Studio 5.5 and below is native. Only Studio 6 and later are based on Eclipse PDT. You can still obtain Studio 5.x when purchasing a current license, and it is often more convenient/efficient than the Eclipse-based version, especially regarding remote browsing on top of FTP or SFTP/SSH.
FGM
Also note that 399 is for a perpetual license, not a yearly one. Only the support is yearly. For most serious PHP development, you'll want an IDE anyway: Zend, PDT, Netbeans, Nusphere, whatever, but more than just an editor, especially for things like debugging/profiling or documenting.
FGM
Thank you FGM for correcting me. :)
forcey
A: 

PHPEd is a fantastic PHP IDE for Supported platforms for Windows 98, ME, 2000, 2003, XP, Vista

It has a lot of the functionality of Visual Studio.

http://www.nusphere.com/products/phped.htm

Jon Winstanley
A: 

Eclipse integrates really well with Drupal

stef
+1  A: 

So, why don't you download Visual Studio for PHP ??? http://www.jcxsoftware.com/

A: 

I've been meaning to try out Delphi for PHP for simply ages, but haven't gotten around to it yet.

Here's the download link for a free trial, would be worth investigating.

Bevan
+1  A: 

Aptana Studio http://www.aptana.com/ Free & Open source Fully Javascript / DOM Support

SilverNight
A: 

I'm fond of Komodo Edit, which you can get for free, or pay the cash for Komodo IDE.

John Fiala
A: 

I use free PHP IDE - Codelobster PHP Edition with special Drupal plug-in.

Stas
A: 

Eclipse PDT gets it done for me.

Kevin