根据http://www.sitepoint.com/best-php-ide-2014-survey-results/调查
大部分我的开发者会选择 PhpStorm,Sublime Text,NetBeans,Zend Studio,Notepad++,Eclipse with PDT,Dreamweaver,Aptana,Vim,phpDesignerphp
免费的IDE基本上是NetBeans和Eclipse + PDT之争。只是NetBeans功能上不错,但界面太丑了,速度上也比eclipse慢。html
团队协做时,初期仍是须要有一个指导性质的工具规范,养成一至的代码风格。考虑windows用户较多,如下截图取自windows平台eclipse,mac平台基本同样。git
在统一编码习惯和风格后,并不限制编辑器。github
下载eclipsehttp://www.eclipse.org/downloads/packages/eclipse-php-developers/lunas...vim
自动换行能够参考 Eclipse Word Wrap https://github.com/ahtik/eclipse-wordwrap/wiki Use http://ahtik.com/eclipse-update/ update site to install the latest version. Go to http://ahtik.com/blog/projects/eclipse-word-wrap/ for more info
http://subclipse.tigris.org/update_1.10.xwindows
建议不要选择Contact all update sites during install to find required softwareapp
这个网站提供了大量适合PHP开发的插件:http://twig.dubture.com/installation/eclipse
除了经过marketplace安装外还能够以下phpstorm
The plugin can be installed via the Update Manager using the following updatesite: http://p2-dev.pdt-extensions.org
http://vrapper.sourceforge.net/update-site/stable编辑器
编码
设置精典主题
加快自动提示速度
字体
volt模板语法高亮显示(方案一:设置成php或者html)
若是安装了twig模板支持(推荐方案二:设置成Twig Template)
显示空白
空格代替tab
格式化标准为PSR-2
php调试
PHP Include Path
除了指定外部源码目录外还能够指定项目
windows->editor
比较 Local history
替换 Local history
兼容phpstorm,netbeans,eclipse的函数内变量注释
/* @var $var type */
略
略