Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm currently using PhpStorm by Idea JetBrains, but its buggy and I'm really looking for something that will allow me to get work done without too much hassle.

Please limit one IDE/Editor an answer.

share|improve this question
add comment

closed as too broad by terdon, Avinash Raj, Seth Mar 30 at 22:55

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

10 Answers

up vote 21 down vote accepted

Netbeans is a great IDE with lots of PHP support. I can't even start to name all the features I use but there are a fair amount. Check it out here:

I've used both Eclipse for Java and Netbeans for PHP and I feel Netbeans is a bit stronger for PHP as well as XHTML and CSS. That's my personal preference anyways.

Looking at PHPStorm I assume you're looking for something similar to it, so a full IDE. Netbeans and Eclipse are the closest to that as far as I'm familiar with.

Netbeans has most, if not all, the features that PhpStorm has on that page plus a whole lot more.

Netbeans IDE

share|improve this answer
1  
also I'm not aware of one feature that Eclipse has over Netbeans for PHP and Web Development. I'm very interested it there is one –  WalterJ89 Sep 16 '10 at 20:28
2  
+1 because i use netbeans for php :) –  Axel Sep 17 '10 at 12:03
1  
+1 because I've tried so many IDEs I don't even dare to remember..and NetBeans is the best, great balance between features and usability. If you just want an editor, then (G)Vim, but it has a learning curve (well worth it). Additionally, you can install jVi plugin for NetBeans and have the best of both worlds. –  dr Hannibal Lecter Sep 19 '10 at 20:05
3  
+1 because Netbeans has all the features you need for (PHP) programming: code completion, phpdoc, debugging, svn/git/cvs support, local history, etc. etc –  eddy147 Sep 23 '10 at 6:54
    
+1 for Netbeans because it supports debugging with XDebug, and useful features like "Go to defintion" or "Find usages", that you expect to find in a good Development IDE. –  Pisu Oct 18 '11 at 20:06
add comment

Geany install geany

This is an advanced editor/lightweight IDE with lots of features. Like Gedit, it has syntax highlighting for PHP and is extendible through plugins. It has some more advanced features than Gedit such as code folding. It can be installed from the repositories by installing the package geany and optionally geany-plugins.

SCreenshot

share|improve this answer
    
I use Geany for virtually all my Development (which is mostly PHP) –  Marco Ceppi Sep 16 '10 at 21:40
    
+1 to geany. The newer version can be installed from launchpad.net/~geany-dev/+archive/ppa –  sagarchalise Sep 17 '10 at 6:52
    
I also use Geany for editing occasional PHP pages, but for main projects not comparable with Netbeans. –  Pisu Oct 18 '11 at 20:07
    
I use Geany too for PHP Development. Scribble (note anything) and terminal (especially for accessing mysql from command line) are the most helpful feature that's provided. –  metamorph Nov 16 '12 at 15:20
    
When you double-click on a PHP variable in Geany, the dollar is not selected (BTW, the same holds for Bluefish). To me, this is a clear indicator that Geany (and Bluefish) cannot be taken seriously as a PHP editor. –  Walter Tross Dec 28 '12 at 18:55
add comment

vim. Well you have to work a lil at start to make it an IDE but its great once you do it. It has GUI called GVim as well.Install it with

sudo apt-get install vim-gtk

here are some tips on making it work with PHP and here are the list of plugins you can use to enhance vim to better work with php.

share|improve this answer
add comment

Gedit: this comes pre-installed with Ubuntu and is simple and lightweight. It has syntax highlighting for a very large number of languages including PHP. It is extensible using plugins.

share|improve this answer
1  
Please split your answer up to one item a post so people can vote appropriately. –  Marco Ceppi Sep 16 '10 at 20:20
1  
Gedit+Plugins is an awesome editor for lots of things. –  Oli Sep 16 '10 at 22:10
    
Gedit + plugins is the equivalent to what Notepad++ in Windows would be if it didn't have so much unnecessary featuritis cruft included in the default install. Just be sure to disable the "File Browser Pane" plugin. It is known to have a bug that causes gedit to take a lot longer to startup. –  Evan Plaice Sep 17 '10 at 8:54
    
I use gedit for my PHP work - I don't think it needs something as heavyweight as Netbeans. –  DilbertDave Sep 23 '10 at 18:01
    
How can i customize gedit to match the highlighting scheme in the screenshot? –  NES Jan 1 '11 at 16:23
show 1 more comment

Bluefish install bluefish

This is another good editor that supports PHP and is more web-focused than Gedit or Geany so may be more suitable for PHP. You can install it from the package bluefish.

share|improve this answer
add comment

I suggest to use the Eclipse PHP development tools: http://www.eclipse.org/pdt/

You can use the same IDE on all systems and in addition to the simple features of a text editor you get all the additional stuff that you need for larger projects: context aware code completion, refactoring, integration of versioning systems, issue tracking, deployment to remote servers and much other stuff.

share|improve this answer
add comment

Try a slightly pimped version of gEdit. This the way to do it:

sudo apt-get install gedit gedit-plugins
cd ~/Downloads
git clone http://github.com/gmate/gmate.git
cd gmate
sh ./install.sh

With the plugins you can enhance even more.

share|improve this answer
    
Add Ubuntu on Rails PPA: sudo apt-add-repository ppa:ubuntu-on-rails/ppa sudo apt-get update Note: on Karmic use add-apt-repository instead of apt-add-repository. Install gedit-gmate package: sudo apt-get install gedit-gmate –  lrkwz Oct 25 '13 at 22:14
add comment

Im using both Komodo Edit and Geany.

Komodo is (imho) better but is a bit too weight, expecially with big files that reference many other files (in your file include another one, Komodo scan it to get the function/classes it contains and offer them in the auto-completition function).

For big files i use geany, is really fast and complete.

share|improve this answer
add comment

Quanta Plus is part of the kde web development package and is a good solution for KDE users.

share|improve this answer
    
The link to quanta plus seems to be broken –  Mateo Aug 14 '12 at 0:58
add comment

I use Eclipse with Aptana http://www.aptana.com/products/studio2/download

After having installed Aptana you can add some additional plugin, as php development tools, subclipse etc.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.