Does anyone know of any good IDE (Code completion, Syntax coloring, etc) that will handle php. Looking for anything that might be relatively cheap or free and doesn't run like crap (IE: Eclipse)
NetBeans is a nice free editor that has been steadily adding support for languages like Ruby, PHP and Python. I've been using it on a MacBook Pro for Ruby and quite like it.
It has the standard IDE features like SCM integration and runs on most platforms.
I've used Komodo from ActiveState with some success. I've not needed to go elsewhere. For personal use, this IDE is free.
I've been following the NetBeans for PHP project but haven't actually tried it myself. I was impressed with version 6.1's support for Rails though, so if they can do the same with PHP, it'll be a keeper.
I use Zend Studio for PHP myself. Gotta pay for that one though.
I recommend Crimson Editor. There isn't code completion, but you can download the PHP CHM help file and configure Crimson to launch it and view the documentation for any function with a hotkey. It is a pretty powerful tool.
Another editor I've been using lately is E Text Editor, only because it has better FTP support than Crimson.
Try Aptana. I use it and love it.
Before that I used Textpad with the php syntax definition (try all the PHP syntax definitions until you find one right for you). Don't judge Textpad by it's cover. It's rock solid and really really useful. It has lots of useful addons as well (with room to write your own if you want). Best of all, it's free, and it has excellent macros support (which is a huge thing eclipse is lacking).
The reason I switched to Aptana was so that I could automatically upload a file on save (there is a script you have to install to get it to do that) but I just noticed that there is an addon to get Textpad to do that for you... Although Textpad doesn't have tab-auto complete nativly (there is an addon for that too though).
I advise against E Text Editor - its syntax highlighting is buggy, its display is buggy and it wants all of cygwin to do anything. I'm using Eclipse and I'm not seeing any performance problems, and it seems rock solid.
For all of my web development needs, I use Aptana, which has support for Ruby, Ruby on Rails, Adobe AIR, PHP, (X)HTML, CSS, JavaScript, and a few other things. It ties in nicely with various server software, has FTP (and I think SFTP), CVS and Subversion extensions, and more.
However, I have also heard good things about Eclipse for web development, but I only use Eclipse proper for desktop development (C, C++, Java). However, Aptana is built on Eclipse.
I also have another vote for Aptana. The application is available as a stand-alone, or as a plug-in for Eclipse. I personally prefer Eclipse with the plug-in because I use it for development in other languages (like Java), but if you're primarily doing web development then Aptana is the way to go.
I recommend Notepad++ It's a very powerful solution, open-source and moreover free...
I like the new functionnalities like the ftp plugins with the ability to automatically send the file your saving on the ftp :
ctrl+s => file save + file sent through network to the associated directory !
I second Komodo from ActiveState. They have Komodo Editor which is their IDE without their some debug and other features. The Editor recently went open which is good but I am not sure if I have seen any benefit as of yet.
Version 4.4 just came with the ability to create Zend Framework projects.
The 2 Great things about Komodo.
1)It is a user license, not an install license. I.E. if your company buys Komodo, you can use it a home, with the same license. This is great.
2) VI emulation. Coming from a unix world, this is fantastic. I wish more editors would offer this.
DevPHP isn't bad, it's what I currently use at work. Eclipse is also really good.
I've heard good things about vs.php which allows you to develop PHP in Visual Studio. There is even a standalone version that does not require a Visual Studio license. It's not free however, but at about about $99 I think it is well worth it if you can harness the power of the frankly superb VS IDE.
I currently use Notepad++ but I'm going to try out Komodo again and also give Aptana a shot.
As Tom and others have mentioned, free and good -- Eclipse with Aptana plug-in.
On the Mac side, my favorite is Coda. It's not free ($79), but it has an elegant interface and rich feature-set (auto-complete, integrated FTP, graphical CSS, collaborative editing).
In the free department, I'd have to say TextWrangler, aka BBEdit Lite. Not an IDE, but quite a good text editor with syntax highlighting and so forth.
On Linux - Quanta is pretty good.
Also Eclipse with PDT or PHPEclipse plugins, disabling automatic building, HTML validation and team functions works well.
If you're on a Mac I'd suggest trying out TextMate. It's a free lightweight text editor written by a UNIX guy so there's a fair amount of shell integration and other pretty cool features I haven't seen anywhere else.
NetBeans 6.5 beta got native support for PHP -- I'm beginning to like it more than Eclipse with the DPT plugin.
I've been running a trial version of Zend Studio, and I'm loving it. It's just like using Eclipse (because it is Eclipse when you get down to it), but it also does static analysis, and puts little "!" icons next to suspect code. I've enjoyed using it, but I'm really not looking forward to buying a license when the trial runs out.
I've used PHPDesigner and NetBeans mainly. NetBeans takes a bit of getting used to as the tabbing is a bit wierd but it's an extremely powerful IDE - containing FTP management, DB browsing, CVS and SVN built in grouping everything all together in a project layout.
PHPDesigner is perfect for small edits, when you're away from home for example. If you don't need huge packages and are okay with just an editor go for PHPDesigner.
I'm using Eclipse with PDT, and I must say I can't really imagine myself using anything else.
I am a big fan of Zend Studio (the non-Eclipse-based one). But if you need free, Aptana Studio is quite good and waaaay less clunky than your basic Eclipse install. If you need more clunk, though (CVS, SVN), the Aptana plug-in for Eclipse is pretty good, too.
I've used UltraEdit for a long time as my general purpose text/script editor. It has a plugins for syntax highlighting which work well once set up. PHP, Perl, HTML, C, C++ are all supported.
It doesn't support code completion.
It also has good DIFF tool, FTP/SFTP support, HEX editor, excellent macros, and loads of little features like a column select mode which is great for those odd occasions you need it.
NB: It is not free but cheap at around $50 USD
There is PHPEdit from Waterproof.fr which is inexpensive and I used it until we switched to Zend Studio. PHPedit is free for non-profit coding, just ask for a personal licence.
What do you not like about Eclipse?
I used to use JEdit but switched to Eclipse PDT after I realized how easy it makes working on larger projects: time-saving code completion on my own classes and methods, pressing F3 takes you to the function your cursor is on, has useful macro-like things called templates, PHP-Doc macros, put your cursor on a PHP function and press SHIFT-F2 and it takes you to the PHP site and looks up that function. CTRL-SHIFT-F re-indents everything. All these things you constantly use everyday and they just save you lots of time. I made a tutorial showing you how to install Eclipse PDT, Apache 2.2, PHP 5, MySQL 5, and phpMyAdmin in 30 minutes and demonstrate how to use these features:
I checked out and have fully switched to Aptana after reading this thread. I'm really loving it so far.
I prefer Eclipse with PDT installed. It contains:
- A library of all PHP functions
- Integrated WSDL Generator
- Class Designer
- UML Diagram support
- Object/Instance "Linking"
- Clicking on an Object results shows you it's definition.
- Clicking on an instance shows you where it was defined.
Every time I try to use one of the big IDE things it just seems slow and confusing. My tip for the up and coming developper is to use a simple but useful text editor with syntax highlighting and tab/bracket support (I like Smultron on mac, but there are tons like TextEdit, Notepad++ etc), then use phpXref to browse their code when they need to follow a process.
PhpXref is a bunch of perl scripts that ouput an interlinked version of your code, you can search for a function and see where it's defined and where its called. All source code is linked to function, variable etc information. It's pretty easy to run locally, you just add your source to a directory in the phpxref install and hit the perl script, you then have a bunch of html files that explain your code perfectly (phpdoc supported!).
This keeps your normal editor as simple as possible (and light, which is nice when you're working on your to do list with the same editor), but gives you the opportunity to dig deeper and do analysis on your code when you need to.
Example phpxref (wordpress trunk)
Caveat: I work almost exclusively on plugins and themes for the wordpress package, so I have no experience writing my own humonguous applications.
P.S. Someone said TextMate is free above but it's not. It's powerful and cool but 70$ is a lot and I find the Free/Open Source Smultron gives you almost all the benefit at 100% less cost.
I'm just gonna say no. I've tried out several IDE's and they all have pro and cons for each one. I gave up looking for the "visual studio" of ide's for php
I'm surprised no-one has mentioned VIM. It's not an IDE out of the box but it has both features you mentioned (syntax highlighting and code completion) and provides better text-editing capabilities than any other editor mentioned here, albeit with a steeper learning curve.
Geany is a good editor overall, has many languages built in. It's both on Windows and Linux, don't know of any mac versions though. It's light and fast, isn't overcumbered with features that makes it a giant, however you have to download the engine/compiler in question. Geany
I have tried a bunch and the one that I like the most is ConText. It's freeware and has syntax highlighting for many different programming languages including PHP. Plus it is fully customizable to how you want your highlighting to work and there are a large number of pre-configured highlighters that you can download from there website.
I use Php IDE by JCX Software, a PHP plugin for Visual Studio (there is also a stand-alone version). I use it specifically because it's integrated so well with Visual Studio. Debugging works really well if you're used to the VS-style debugger.
You can select the version of PHP you want a particular debug instance to run against. It sets up Apache and PHP for you (not that it's hard to do, just convenient).
It's $99 or so and upgrades are less. I think student pricing is even cheaper.
I currently use PhpEd by Nusphere.
The biggest problem I have with most editors is that it's not a one click operation to save locally and remotely. Most of the time, I work directly on a development server; the main reasons being because I work on multiple machines and it would take hours to get setup on each machine. The second reason is the major differences between my local machine and remote. In PhpEd you can save either just locally or both locally and remotely (Ctrl + Shift + S). For me this saves a lot of time. It can upload through a large number of methods (SSH, FTP, WebDav).
The editors also includes a debugger, code navigators, ssh, DB client along with many other features. It also allows you to use the shell menu from Windows Explorer directly, which helps if you want to Tortise or just view the properties of a file.
The cost is a bit prohibitive, but they do release updates often, although it is a subscription.
There are hundreds of other features too.
I've tried Eclipse+PDT, Zend Studio and Aptana. So far Aptana has been my favorite. The biggest downside is lack of Smarty support. Other than that i love having code completion everywhere, not just in php documents. Editing CSS is a lot easier now, it even indicates browser support on various arguments.
I saw a comment above about using Komodo. Komodo Edit, a simple text editor, is free but the IDE, which you are looking for, is not. Just FYI.
I am using HTML-Kit 292, a bit outdated but has many plugins and is very fast (also free). PHP support and the PHP offline manual can be integrated by various plugins.
Textmate all the way http://www.macromates.com/ But you need a Mac for that. Also, unfortunately, it doesn't provide real debugging tools (so it's no different from any other text editor in that regard.
Not sure if an IDE is the same as a code editor, but the latter is what I use. On the PC I recommend Crimson Editor as others above, and On the Mac, Coda has floated by boat for a while now. Nothing beats the remote editing and saving.
We are using eclipse europa with php extension and xdebug on server side.
Its all on windows (unfortunately) Wamp server with xdebug as dll extension for php and suprisingly it all works perfectly. Debugging step by step and all that stuff works nicely.
keyboard shortcuts and general editor is on a very nice level as well.
I tried so many applications over the years; like Homesite, UltraEdit, Notepad++, e, Eclipse PDT, Dreamweaver. After trying Aptana I decided to go on with Aptana. The latest version (1.2) is the best. Aptana has some very useful plugins like Adobe AIR, iPhone, RadRails etc.
The interface is very usable, it has code complation, PHP and Javascript frameworks support, project support, code colorization, source control.
I second the NetBeans 6.5
It's very good and light, much faster on my platform than Eclipse & Co -based IDEs, and, of course, it's multiplatform.
For just an editor, I'd say Vim/MacVim, or Textmate on MacOS.
I've bought PhpDesigner and i never want to go back. It actually makes a list of all function names, class names, class members, constants, etc in every file in your project, and uses them for auto-completing your code. Its blazing fast! I never want to go back.
I get by with jedit with the ftp, phpparser, jedit, and sidekick plugins. For me, it provides most of the functionality that bigger IDE's do wtihout as much bloat.
I've used, and for a large project would recommend Eclipse with PDT, primarily for SVN integration, although if you like code-completion, et al, I'd suggest you look at Eclipse first.
It's like 3 years that i work on Crimson. It's free, quick, stable, and...(dont know how to explain it in english...) really fair-use.
Is even simple and old: forget the syntax suggestions.
Otherwise, Notepad++ have some additional feature and is stable aswell.
On linux system, i suggest DevPHP or Komodo Edit
While it's not free I really like Textmate (MAC) or E-Text Editor (MS) The bundle functionality make it worth the minimal proce.
My Answer: Zend Studio 5.5, followed by Eclipse PDT or Aptana.
And yes, I realize that Zend is not free OR cheap.
Truthfully, I'm not a big fan of any IDE out there, whether you have to pay for it or not and regardless of how pricey it is. That said, the very LEAST crappy IDE for php development is Zend Studio 5.5 -- it is the ONLY IDE that has every feature a PHP dev needs. Unlike Eclipse, it lets you manage projects of all shapes and sizes very easily, and integrating multiple FTP/SFTP sources into your projects is a no-brainer.
While Zend Studio 5.5 vastly outweighs all others as MY IDE of choice, the downsides are still considerable: 1) It is buggy. Once in awhile things that usually work fine will break temporarily. Like Find in Files (an extremely useful feature) or on rare occasions, the ordinary rendering of text (easily remedied with any activity that force-refreshes the editor, like Word Wrap on-then-off). 2) It is expensive. $299 for a single, standard Professional license. 3) It is deprecated. For some bizarre, unknown reason, Zend has decided to take their very best IDE ever (namely, Zend Studio 5.5) and completely scrap it. Versions 6 and 7 are built on top of Eclipse PDT. They still cost $300 a pop, and they are basically just Eclipse PDT with a few extra features that are missing from Eclipse PDT, like SFTP and whatnot.
If you can find a way to buy Zend Studio 5.5, it will make you happy, but its not perfect.
I use Dreamweaver with my dwoop extension(http://code.google.com/p/dwoop). dwoop will let you jump to the function/class definaiion within Dreamwevaer(by using ctags)
Dreamweaver is a all-in-one IDE for web programmer. you can do WYSIWYG and edit CSS and manage your site with FTP/local file browser.I love it.
I'm very surprised to not see Quanta+ listed anywhere. It's my favorite editor across any platform and should be able to run great on your macbook.
Totally phpDesigner. It has syntax highlighting for multiple languages, as well as the fact that it greys out code in other languages while you're editing a particular language in a code file.
It has project support for grouping files, ftp locations, etc.
It supports intellisense, as well as custom functions/methods/classes.
It's just FANTASTIC! And, it's the fastest IDE I've ever worked with. It seems like a pain to use Visual Studio for my .NET projects after having worked with phpDesigner.
I've been sticking with DevPHP for years now. Love the functionality, and totally free.
JetBrains new PhpStorm is definitely worth a try - just check the features. And the price is below $100.
Apatana's Eclipse plugin hasn't any php support on its own - for now. Therefore its capabilities fall back to PDT on Eclipse. I have tried Zend Studio, works fine. In comparison to PDT's xdebug Zend's features are way more advanced. However it's expensive. A good and free PHP IDE these days doesn't really exist. Even NetBeans (most people like it) support is relatively crappy, compared with the commercial alternatives - when it comes to debugging, code assist and especially code completion.
I personally hope that JetBrains does something about this soon: They call it PHP storm: http://www.jetbrains.com/phpstorm/ I'm enthusiastic about that... however that won't be free unless they go the IDEA way with it - having a community version.
Right now, if free is a must, I'd stick with PDT 2.0. And I'd never rely on any of the features because they're immature.
PhpEd on Windows (I use on Windows) PhpStorm on Mac/Windows/Linux (I use on Mac)
PhpEd is great, it just works so incredibly well.
PhpStorm has some annoying issues (like they won't offer a simple "Save As" or "Rename" that doesn't try to refactor even though 95% of the time I'm trying to simply change a filename or directory name I just created literally 2 minutes ago and they won't listen on these issues because they believe their way is better) but otherwise its by far the best PHP IDE I've tried, even better than PhpEd because it can do so much more.
I use PHP Designer Personal Edition http://www.mpsoftware.dk/phpdesigner.php
I've been using UltraEdit for a quite long time, not that the other editors are worse, but my experience with Eclipse was really awful, setting it up is was bitch, editing highlight colors is a real pain and finally one thing that bothers me in mostly of those programming targeted editors is that they have a excess of organization, let's take Eclipse for an example, you need to create a project, organize it into folders etc etc no matter how small is your project you always need to act like you're working into a big framework.
Ultraedit does not have all the integrated features of others, but you can easily improve it by adding scripts for syntax checking and others.
No matter which editor/IDE I use, it always feels like I'm missing something from another editor/IDE I've used before. For quick edits, I use vim. When working on projects, I have most recently been using jEdit -- which is quite nice. Notepad++ is comparable. I also like Sublime Edit but it is not better than vim nor is it good when working on projects.
I am currently trying out both Komodo Edit (which has vi controls) and PHPEd to possibly replace jEdit. And if I could just get slightly more comfortable with vim for this reason I don't think I'd need a second editor ever again.
I am currently testing Netbeans 7 at the moment and I am well impressed. I used to use Aptana but I am not keen on Version 3.