PHP tools for Visual Studio, a real alternative or not?

I’m a long time developer mixing languages ​​back and forth. The last few years I have been working mainly with .NET and Visual Studio. Whenever I write something in PHP, I try to work with NetBeans IDE (on my Mac) and have always been satisfied with the general functionality, IntelliSense and the included functionality of PHPDoc.

And here I am. I really like VS, but now it looks like I will do php encoding again.

Is PHP Tools for Visual Studio a real option when creating enterprise infrastructures?

If not, will I continue with NetBeans or will it basically mean that I'm an old angry fart who is afraid of everything new?

I read some opinions about Jetbrains php ide, but the sympathies were mixed, there are also many that seem to be similar to zend, but as I understand it, this is best when you use zend frameworks that are a bit complicated as I create my own frameworks.

This is a bonus if the IDE can run PHP 5.3 and use the build in the web server for real-time debugging. Or are there other strategies I should be aware of?

+8
php php-ide
source share
5 answers

I use PHP Tools for Visual Studio and I really like it. Mostly because I'm primarily an asp.net developer, and I feel most comfortable in Visual Studio. It's great that I can use TFS in Visual Studio to manage php files. It is also nice that some of the common CodeRush functions work (for example, drop markers). I found their support good. It costs money, but it is reasonable.

To debug server-side operation, follow these steps: http://xdebug.org/docs/install .
In Visual Studio, you can go to the PHP tool options from the Tools menu. Tools-Options-PHP Tools.

One thing to be aware of is which php.ini file is used: IIS uses this php.ini:
% ProgramFiles% \ PHP \ v5.3 \ php.ini
This php.ini is used when you debug Visual Studio:
% ProgramFiles% \ IIS Express \ PHP \ v5.3 \ php.ini

I mentioned one more thing, as it was painful to understand; I need to debug code in the functions.php file of WordPress. In order to get debugging work with functions.php functions, I first start the VS debugger (by clicking Debug-Start Debugging) in a small test file, for example:

<?php phpinfo() ; ?> 

With the debugger running, breakpoints will fall into functions.php functions. Keep in mind that debugging WordPress like this will only work in your default browser.

+13
source share

Take a look at VS PHP as an option. I liked it, but it's a little expensive.

I am currently using PHP Storm from JetBrains

+2
source share

I am using AptanaStudio on a Mac. It supports integration of remote building and source. its the best heavy PHP IDE I've used.

0
source share

I have not yet decided which instrument I’ll go with. But people reading here about the praises of PHP Tools should understand that two of the luminous comments belong to the co-founder of the company that sells this product - something that he doesn't mention.

0
source share

This site http://www.phpides.com has listed many PHP-IDEs and included in the list of 10 best PHP-IDEs.

-2
source share

All Articles