Fog Creek Software
Discussion Board




Best IDE for php

I am looking for a php ide for under 100 dollars should be able to:
auto complete, have a file level view of the project.
Built in server would be nice (so I can view my work)
pretty basic stuff

the artist formerly known as prince
Wednesday, March 10, 2004

ps... development will be on windows

the artist formerly known as prince
Wednesday, March 10, 2004

I tried that Zend Studio once and found it decent.

I don't want to sound like one of those Java people that have have never worked on a real project and always just tell people to shut up and use vim, but I find PHP simple enough to just use vim.

It's not like Java where I can't remember my own API, let alone Sun's, and need completion and project management.

Samo Fredorski
Wednesday, March 10, 2004

I am "one of those java people" but the problem is a) I am not experienced in php, b) I really hate cluterring up my head with "memorization type stuff" c)I really dont like using notepad ...

the artist formerly known as prince
Wednesday, March 10, 2004

I think you misunderstood... By "one of those Java people" I meant the Java people that consider vim to be a useful tool to manage a large scale project. These people have never had to manage a project with hundreds of classes, many developers, and a deadline.

I'm saying I can get by with vim for PHP even when doing a large project because PHP just isn't as complex.

Samo Fredorski
Wednesday, March 10, 2004

check:
http://www.activestate.com/

might do something for ya ...

blargle
Wednesday, March 10, 2004

isn't that perl?

the artist formerly known as prince
Wednesday, March 10, 2004

Primarily I'm using Dreamweaver MX right now, because I already own it and I also do all the GUI stuff for my group.  It has nice color-coding and FTP features, but it doesn't really have that much great code support for PHP, and its a monster resource hog (about a 30mb process).  When all I want to do is code, its a bit of overkill.

I am trying out an IDE called Visual SlickEdit, which seems to be the way I may go in the future.  I haven't had a chance to use it for PHP yet, but I've been told that its code hint (like intellisense in VS.NET) and code completion tools are very nice.  As far as if you have an object initialized and you type the name of the object, it gives a list of its methods and properties.  That kind of thing.  Since I'm writing PHP almost completely in an Object Oriented fashion these days, that would improve my speed quite a bit.  I haven't quite gotten the hang of the hardcore mouse-free coding style.

The bummer about SlickEdit is that its $270 for the elc. download.  If you are only doing PHP, then that might not be worth it.  Crimson Editor is a workable free editor.  Its like notepad, but has some FTP tools and color-coding and other stuff.  SlickEdit appeals to me because I'm also interested in getting into other languages, and it supports a ton of them.

I'd be interested to see other suggestions that might include some of those features and possibly be cheaper than SE.  I try to write PHP in as much object oriented styles as I can, and a feature like intellisense where I can access all my methods and props inline would be very cool.

Clay Whipkey
Wednesday, March 10, 2004

oops... didn't mean to drop that OO thing in there so redundantly, I just spaced out in the middle of that post and forgot what I had already typed.

*note to self: re-read before hitting submit.

Clay Whipkey
Wednesday, March 10, 2004

You can give PHPEdit (http://www.phpedit.net) a try, but use the one of latest development builds. It's free, BTW.

Ben
Wednesday, March 10, 2004

The activestate product (called Komodo, btw) supports PHP, Perl and Python.  They offer a personal use license for $29.99.  I would put it in the "it rocks" category for the most part, but I'm currently test driving SlickEdit for comparison.  I'm not totally convinced yet, but I'm leaning toward Komodo (sorry Clay :-) ) because it has a nice PHP debugger.  If there is one in Slick, I haven't found it yet (yeah, I could read the docs / help).  That, plus that the professional license is a few bucks cheaper ($225, IIRC), might be the deal sealer for Komodo for me.  On the other hand, if the "intellisense" in Slick Edit really ends  up working as well as in VS.NET, I could still be swayed.

MacSqueeb
Wednesday, March 10, 2004

http://www.slickedit.com

Tom Vu
Wednesday, March 10, 2004


The best IDE for php I've seen, is

a) install Apache and PHP on your machine

b) UltraEdit w/PHP syntax highlighting

c) Code, save and reload your browser.

Can it get any more complicated?

Miffo
Wednesday, March 10, 2004

Try QaDram (Delphi like IDE for PHP)
http://studio.qadram.com/

Cletus
Thursday, March 11, 2004

Big fan of editplus (http://www.editplus.com/), but it doesn't have all those fancy features (who needs them?).  Honestly, if you need a debugger in PHP you really need to re-examine your coding style.

saberworks
Thursday, March 11, 2004

I used a combination of PHPEdit and UltraEdit. I used earlier versions of Komodo but at that time it was unstable, slow and consumed HUGE amounts of memory.

For those that belittle the need for a debugger for PHP: I guess you never had to dive into really big ugly and complex code.
I would say due to PHP's language "features" there is a higher need there for a debugger than e.g. in Java or .NET.

As I have stated before: If this is a big project you are going to start, you might want to consider not using PHP.

Just me (Sir to you)
Thursday, March 11, 2004

I have used Zend and several other free editors for PHP they all start to fall apart in the area of code completion when you have arrays of pointers to objects etc. Not sure they can ever really fix that problem since that same array can be filled with things other then pointers to objects or pointers to different objects (why you would do that I am not sure, but you can). I liked using zend for framing out my classes because of code completion etc, but I would just wind up using vim to finish it up.

Jeff
Thursday, March 11, 2004

I'm using Komodo 2.3 for Perl and PHP, and it's great. It supports remote debugging of PHP scripts. The current version is 2.5, but it seems to me to be a bit quirky (syntax checking seems a bit flaky at times, and they changed some things about the UI that I didn't like. Overall, a pretty good deal at $30, I think.

Rob VH
Thursday, March 11, 2004

I tried Zend Studio and didn't like it too much.  I then used PHPed for a while, but I think both of those are above your $100 limit.

I've been using Maguma for a while (www.maguma.com) and like it a lot and it's definitely under the $100 price tag.  I've been beta testing their new v2.0 product and while it's a way's away from release, it's looking even better than their existing product.

I used HomeSite for a long time, but was looking for something with an integrated debugger and profiling.

Wade Winningham
Thursday, March 11, 2004

"...it doesn't have all those fancy features (who needs them?)"

Nobody said anything about "needing" anything.  Its just nice to have.  I don't personally feel a need to reaffirm my professional self-esteem by making my job harder than it has to be.  If I can get an edge, and then next guy denounces my status as a "real" coder because of that... I'm not going to cry in my beer.  Lat I checked, nobody gets a job because they insist on coding everything in notepad.  Its just about getting the job done, isn't it?  Whatever floats your boat shouldn't matter to anyone else.

Clay Whipkey
Thursday, March 11, 2004

Just You (Sir to Me),

Komodo may still be as much of a hog--I haven't really checked to see.  I haven't really had any beefs about stability though.  Does PHPEdit have anything like the "start" page in Komodo?  It's a silly thing, but I like it.

How does its "intellisense" like prompting compare?  It's pretty lame in Komodo--seems to only randomly and infrequently pick up stuff I've defined.  How does the debugger compare?  I can't seem to get Komodo's to stop at breakpoints (I could just be really dense though).

I guess I could try it out myself and see.  Off to find and download...

MacSqueeb
Thursday, March 11, 2004

I don't think the version I used had any "Intellisense" (at least non that I used). I liked the code browser and the syntax highligting. One thing that I hated was the way text selection completely lost it in horizontal scrolls if you happend to move off the line by accdent.
No start page I can remember.
The reason I complemented it with UltraEdit was because of the superior search of that editor.

I quickly looked at the sites of some of the other IDE's mentioned in this topic and I think I would check out of few of these over my old setup if I had to do much PHP again.

Just me (Sir to you)
Thursday, March 11, 2004

Editplus.
all the way

Nicholas Franks
Thursday, March 11, 2004

I used to use Emacs, and it's great for just plain banging out code, but I really missed the features of an IDE -- not to mention the fact that it's butt-ugly.

UltraEdit is pretty decent, and I use it for my PHP coding.

Charles
Thursday, March 11, 2004

I am surprised no one mentioned phpeclipse (http://phpeclipse.sourceforge.net/).  It is the PHP plugin for Eclipse (http://www.eclipse.org).

It has a weak form of intellisense, still kind of quirky.  It has an in IDE browser for previewing your work.  And it does a great job of syntax highlighting and outline view of your php functions. (it also will stop and start your mysql and apache processes if you choose to).

Best of all, eclipse integrates with almost any other tool you can think of, including databases, CSS editors, HTML editors etc.

Seeker
Thursday, March 11, 2004

Forgot to mention, all of that for free.

Also, I like UltraEdit for any advanced editing... so another vote for UltraEdit as well.

Seeker
Thursday, March 11, 2004

> I am looking for a php ide for under 100 dollars should
> be able to: auto complete, have a file level view of
> the project.

Take a look at Zeus for Windows:

  http://www.zeusedit.com/lookmain.html

Zeus has project/workspace management, class browsing,
syntax higlighting etc. etc.

Also when a workspace is used, it offers automatic ctags
integration, code completion and intelli-sensing.

Jussi
Thursday, March 11, 2004

I'd love to find an IDE that really helped. 8 years later and I'm still using Textpad on windows, but mind you I use Perl to auto-gen a lot of stuff when necessary and a lot of my PHP consists of arrays and methods to generate/validate code.

At home I use linux (mepis.org preffered distro for me) and I ssh into my personal server and run X apps locally so I run konqueror and emacs, shell etc. You can run etags and generate a file emacs will read so you can zip to methods in different files, that is very handy. Of course emacs has a bookmark system as well and  you can drop to a shell in emacs for things which I'm always doing and then I've got at least 2 different browsers running to check code.

About debugging PHP. I gotta say I never had to run a debugger in either Perl or PHP but maybe I'm missing something. I've inherited code which included literally hundreds of files (not OO, or partially so with an unfortunate taste for using globals) and I never did see how I debugger would have helped me.

One thing, which I'm sure everyone does is use strict, use warnings for Perl and error_reporting(E_ALL) in PHP ... that will cut down on a lot of bugs (and no globals).

Me
Thursday, March 11, 2004

I agree.  Setting the error reporting to E_ALL (on the dev server only) has helped me *immensely*.  I completely reccomend doing that.

Clay Whipkey
Thursday, March 11, 2004

If someone not necessarily needing to run windows looks at this; try Quanta for KDE (http://quanta.sf.net/). It's like Homesite, only a lot better. Plus the integrated PHP stuff rocks, and works perfectly with CVS. This summer it will get a great PHP debugger integrated too.

Jonas B.
Friday, March 12, 2004

*  Recent Topics

*  Fog Creek Home