php 什么 IDE 对 Symfony 框架的支持最强?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/617930/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-24 23:16:47  来源:igfitidea点击:

What IDE has the strongest support for Symfony framework?

phpidesymfony1

提问by Justin

I'm looking for an IDE with use with the Symfony Framework.

我正在寻找与Symfony Framework一起使用的 IDE 。

I have a bit of experience using the NetBeans 6.5 IDEbut it does not always seem to complete the class methods, plus it doesn't seem to have any PHP code snippets built in.

我有一些使用NetBeans 6.5 IDE的经验,但它似乎并不总是完成类方法,而且它似乎没有内置任何 PHP 代码片段。

Here are the features I would ideally like to have, in order of importance, from an IDE:

以下是我希望从 IDE 中按重要性排列的理想功能:

  • Code completion of all the Symfony and Propel class methods (I can never remember them)
  • Code templates,(class skeletons, HTML structures, Symfony templates?)
  • Straight-forward code debugging
  • Source Control
  • 所有 Symfony 和 Propel 类方法的代码完成(我永远不记得它们)
  • 代码模板,(类骨架、HTML 结构、Symfony 模板?)
  • 直接的代码调试
  • 源代码管理

采纳答案by Frank

If you could wait, Symfony support is coming to Netbeans soon: http://www.netbeans.org/issues/show_bug.cgi?id=145913. I'll go with Zend Studio 5.5's debugging and inspection features for the time being.

如果你能等一下,Symfony 很快就会支持 Netbeans:http: //www.netbeans.org/issues/show_bug.cgi?id=145913 。我将暂时使用 Zend Studio 5.5 的调试和检查功能。

回答by Karsten

回答by ax.

Komodo IDE(or, without debugging and Source Control, the free Komodo Edit) + a set of commands for Komodo to use symfony tasks. does all your 4 points, and also works for Perl, Python, Ruby and Tcl.

Komodo IDE(或者,无需调试和源代码控制,免费的Komodo Edit)+一组 Komodo 使用 symfony 任务的命令。完成所有 4 点,并且也适用于 Perl、Python、Ruby 和 Tcl。

回答by Peter Long

I recommend NetBeans. You can follow this tutorial: Use NetBeans to setup a PHP Symfony project

我推荐 NetBeans。您可以按照本教程进行操作:使用 NetBeans 设置 PHP Symfony 项目

A lot of things change. the above link is broken now. And Oracle owns Netbeans now. So, I do NOT recommend netbeans to you any more! Try gvim!

很多事情都会改变。上面的链接现在坏了。甲骨文现在拥有 Netbeans。因此,我不再向您推荐 netbeans!试试 gvim!

回答by Radu Dragomir

Symfony is supported by NetBeans 6.8.

NetBeans 6.8 支持 Symfony。

回答by Tal Ater

I've been using Symfony since version 0.6, and have used Zend Studio (both the earlier versions, and the later Eclipse based versions), Eclipse, Komodo, NetBeans, VIM, e TextEditor and Sublime Text.

我从 0.6 版开始使用 Symfony,并使用过 Zend Studio(包括早期版本和后来的基于 Eclipse 的版本)、Eclipse、Komodo、NetBeans、VIM、e TextEditor 和 Sublime Text。

I've recently switched to PHP Storm, and I have to say... It completely annihilates all the other options. Definitely my choice!

我最近切换到PHP Storm,我不得不说......它完全消灭了所有其他选项。绝对是我的选择!

回答by Symfony development

You can simply use Textmate for Symfony development. After getting the grip of it, it can be perfectly fit as well.

您可以简单地使用 Textmate 进行 Symfony 开发。握住它后,它也可以完美贴合。

回答by Anyul Rivas

I'd recommend you to use PHPEDIT, it is the software with the best support for all symfony versions,

我建议你使用PHPEDIT,它是对所有 symfony 版本支持最好的软件,

you can watch a screencast of how easy can be develop symfony projects with phpedit. Link

您可以观看有关使用 phpedit 开发 symfony 项目是多么容易的截屏视频。 关联

回答by Andrei Dziahel

As for me, it's Eclipse + PDT. But NetBeans already has support of phpDoc 1.4 (while PDT hasn't), so you can document (and IDE will be able to autocomplete) "magic" properties and methods. Doctrine users will surely appreciate that :)

至于我,它是Eclipse + PDT。但是 NetBeans 已经支持 phpDoc 1.4(而 PDT 还没有),因此您可以记录(并且 IDE 将能够自动完成)“神奇”属性和方法。Doctrine 用户肯定会欣赏这一点:)

UPD:Some time passed and I've moved to NetBeans first (it appeared lighter, faster and less complicated). Then I've used PhpStorm EAP, liked it and even bought a license :)

UPD:一段时间过去了,我首先转向了 NetBeans(它看起来更轻、更快、更简单)。然后我使用了 PhpStorm EAP,喜欢它,甚至购买了许可证 :)

So, here and now my IDEs of choice are:

所以,现在我选择的 IDE 是:

  • NetBeans — free
  • PhpStorm — paid, most intelligent (static source analysis is real killer feature)
  • NetBeans — 免费
  • PhpStorm — 付费,最智能(静态源分析是真正的杀手级功能)

回答by miguelSantirso

I used Eclipse PDT in the past, and switched to Netbeans a month ago... After having tried both, I would recommend Netbeans: It has better refactoring tools and it performs better in general.

我过去用过 Eclipse PDT,一个月前改用 Netbeans……两者都试过之后,我会推荐 Netbeans:它有更好的重构工具,总体上性能更好。