PhpStorm has two types of autocompletion: structural completion and word expansion. Structural autocompletion makes predictions based on its understanding of PHP, while the latter tries to predict the word currently being typed based on previously typed words. Word expansion also works in comments and docstrings and it's similar to vim's omnicompletion. Both types of autocompletion work extremely well, have little to no problems and are quite fast even when loading suggestions on the go.
Ranked in these QuestionsQuestion Ranking
Pro Multiple revision control system integration
Has built-in support for the most popular revision control systems
Pro Frameworks support
Supports Symfony1, Symfony2,Yii2 & Zend frameworks.
Pro Free, open source, and cross-platform
NetBeans is a free, GPL-licensed IDE. It can run on any computer with a Java virtual machine. If a computer has a Java virtual machine (JVM), Netbeans can run on it. Netbeans can, therefore, run on a variety of operating systems such as Windows, *nix, and Mac OS. Being open source means that developers can contribute changes to the code to have the IDE better serve them.
Pro PHPUnit support
PHPUnit is a testing framework. You can create test classes, run and see the code coverage directly from IDE interface.
Pro Composer commands inside IDE
The most used composer commands can be done directly from IDE.
Pro Best for PHP, HTML5 Apps Developemt
Pro FTP/SFTP synchronization
Supports synchronization with projects stored remotely through FTP or SFTP.
Pro Supports community plugins
NetBeans can be extended beyond the basic tool that you get out of the box through community made custom plugins.
Pro Accelerated HTML5 development support
Pro Less and Sass Compiler support
Pro Linux terminal inside IDE
You can run Linux terminal inside the IDE.
Pro Supports Twig templates
NetBeans provides code completion and documentation for all Twig elements.
Pro ApiGen and PHPDoc support
Supports documentation generation through ApiGen and PHPDoc.
Pro Powerful debugging and performance optimization
Netbeans not only debugs your code, and points out errors but also gives you hints on which sections of your code could be further optimized.
Pro You can access source code history
There's a built-in local history that lets you compare code changes and revert to a specific revision. Helpful when source code file accidentally overwritten.
Pro PHPstan support
Supports static code analysis with phpstan
Pro ApiGen support
ApiGen allows automatically generating documentation from specifically formatted comments. It's easy to use, supports traits, allows fuzzy searching for classes and highlighting docblocks using Markdown.
Pro Bower support
Pro Supports Smarty
Supports Smarty Template Engine right out of the box.
Pro JMeter benchmarking tool support
Pro Intelligent code completion
PhpStorm has two types of autocompletion: structural completion and word expansion.
Structural autocompletion makes predictions based on its understanding of PHP, while the latter tries to predict the word currently being typed based on previously typed words. Word expansion also works in comments and docstrings and it's similar to vim's omnicompletion.
Both types of autocompletion work extremely well, have little to no problems and are quite fast even when loading suggestions on the go.
Pro Supports various PHP frameworks
Supports Symfony2 (including Twig and Doctrine), Yii frameworks, and Laravel.
Pro PHPDoc support
PHPDoc is a documentation generator. It allows automatically generating documentation from specifically formatted comments.
Pro Inspections of all kinds
Pro Database view
The database tab, while not perfect, provides all the tools you need for daily usage. You always have your DB overview on the side (you can hide it when not needed).
Pro Built-in debugger
Has built in support for Xdebug including remote debugging.
Pro Phar package recognition
Phar support allows running complete applications out of .phar files.
Pro Plugins allow futureproofing and customization
Active development work on plugins is always a plus, as it can extend the use of the IDE.
Pro Lots of plugins
Lots of plugins from JetBrains and the community are available, from useful things like support for Docker, Vagrant, Angular, Vue.js and more useless (but fun) like a nyan cat progress bar.
Pro Integrated Git GUI support
Allows users to manage their repositories directly from the IDE with a GUI which lets you do all Git commands.
Pro Code Refactoring
Quickly rename classes, methods, and variables used across multiple files in the project.
Pro Zero latency typing
Type codes with pleasure. Delay of visual feedback on a computer display has an important effect on typist's behavior and satisfaction, as cited here.
Pro External command support
Ability to setup custom external commands, which is something inherited from eclipse and found lacking on netbeans.
Pro Has built-in console and SSH clients
This allows execution of needed commands without switching to other windows. It also keeps track of what's happening right in the IDE, which is especially good with Vagrant, because you can connect to a VM in a single click.
Pro Auto-sync with remote folders
It allows monitoring code and sync the files that need to be changed with a remote server. This works more efficiently than libnotify and faster than vagrant auto rsync.
Pro Templating support
Supports Twig and Laravel's Blade (among others). Technically the later is part of a framework which Phpstorm supports but I've seen IDEs (e.g. Netbeans) with Laravel support but no blade support so it does deserve a notable mention.
Pro It comes with Testing RESTful Web Services
Save time of building your own or integrating libraries for testing RESTful Web Services. PHPStorm enables you to test endpoints without leaving your workspace or disrupting your workflow . You can code your endpoints in one window and test it immediately from another window.
Pro Emmet integrated
Pro Regular updates for fixes and new features
PhpStorm is clearly being developed continually, which gives confidence that it will be available for some time and is not abandonware.
Pro Integrated Vagrant support
It recognizes Vagrantfile and allows full control from the IDE.
Pro Task/Context functionality
Similar to Eclipse Mylyn: you can create tasks or retrieve them from your ticketing system, and each task keeps its own context (opened files, modifications, etc.).
Pro Responsive core developers
Pro Excellent search tools
Especially the "find in path" feature that displays both results and file preview!
Con Slows down occasionally
The Netbeans IDE is known to take a large memory as compared to other lighter IDE's available on the market. Slowdowns can decrease productivity and cause frustration.
Con Multilanguaje code completion fails
I example, sometimes code completion won't help you with html marks (or scripts) inside php echo (or print) sentences, and vice-versa.
Con Default website code format is too strict
Sometimes you need to write allowed code that IDE hasn't spected, and it will annoy you filling all your code with suggestions.
Con Development has stalled dramatically
It went down from two releases a year with minor bug-fix releases to one release and no fixes. There seem to be fewer features added per release as well. There is no activity in the plugin community.
Con Tries to do everything for you and gets it wrong too many times
Con Linux version lacks HDPI support
Con Resource exhaustive
It often maxes out even 4 cores, not to mention several hundred MBs of RSS with a single small project opened.
Currently costs £78 but does not seem to offer much more than some free counterparts.
It is not free software (free as in freedom).
Con Slow performance
A very slow indexing, many memory leaks, large projects after some time will be very slow, opening large files like 10mb can even break IDE.
Con Interface is cluttered
Con Sometimes buggy
Index gets corrupt which results in errors in syntax presentation, code validation and auto-completion. Version-control system sometimes stops working, occasionally freezes in big files