views:

298

answers:

10

Possible Duplicate:
Any good PHP IDE, preferably free or cheap?

Currently I'm using Notepad++. It's a great editor but there are 2 things I'm missing: autocomplete and debugger.

I'm looking for a PHP editor that supports:

  • autocomplete for PHP functions (for 5.3). It would be great to have a feature to autocomplete class members when you type $obj-> (similar to what happens in C# and Java IDEs). I know it's hard to implement because PHP is not a strongly typed language like Java or C#.
  • debugger
  • is free
  • preferably light :)

Later Edit: Could you mention if autocomplete works for class members? I don't know if it's possible, but a php editor supporting it would be great...

A: 

It's not exactly light, but I use the PHP tools for Eclipse that come with Aptana Studio. It's a fantastic product, with a brilliant HTML editor, RoR and Python support, etc. as well. It's free, integrates with a debugger and is cross-platform (Java).

EDIT: It turns out that recent versions of Aptana Studio now use an open-source PHP plugin for Eclipse - PDT.

Lucas Jones
+3  A: 

I quite like Komodo Edit. It's free, but it doesn't have debugger support, although Komodo IDE does. Alas, they're not the fastest editors in terms of startup time.

Rob
174 MB? that's almost a size of an operating system.
dusoft
...and Windows 3.1 was only a few MBs (like 9?). Silly comment is silly.
Urda
+2  A: 

Being light will depend a lot on the specs of your computer, but I've been using Eclipse for all of my development, and it's been great. For PHP, there's plugins you can install, or you can simply install Aptana (as a plugin on eclipse), and install it's PHP extension which does pretty much all you need.

Marcos Placona
Eclipse really isn't light by any stretch of the imagination.
Draemon
+3  A: 

I like netbeans but it isn't terribly light..

jasonbar
+2  A: 

I use Netbeans for my PHP work and find it pretty easy to work with. Also free.

brendan
+2  A: 

See

Gordon
+1 for mentioning a comparison chart. Now the OP can decide for himself what he likes. I fear this thread is going to be an Eclipse vs. Netbeans war otherwise.
Marcel Korpel
A: 

You can also use Eclipse PHP. It is a good environment for coding PHP. ^_^. You can try it if you want. Eclipse PHP is the link for the PHP editor in eclipse.

twintwins
A: 

http://www.eclipse.org/pdt/

fastcodejava
+1  A: 

You can't ask for a Light Application when you include Debugger capabilities, this is where everything starts to be non-light.

For me, and I use in both Windows and Mac version I have

NetBeans and Aptana Studio, even though I tend to use much more Textmate for basic editing where I don't care about debugging or autocomplete.

But for all answers here, you have same choices:

You also can find more information on http://www.php-editors.com/ which is a website to read about reviews on PHP Editors :)

Hope it helps

balexandre
A: 

Quanta Plus is good, but it's Linux only.

dusoft