PHP Tools for Visual Studio

VSIP Partner Trial

Provides full featured support for editing and debugging PHP programs.

(117) Review
Visual Studio
2015, 2013, 2012, 2010
Download (339,692)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (117)
Q and A (125)
Sign in to write a review
Sort by:

by cpxPratik | Sun 1:04 PM

I am using in trial version, everything is alright but suggesting already defined variable automatically (like when pressing ctrl+space) seems restricted for trial version. Every basic source editor like notepad++, sublime suggests words that are already found in the current file. It should have been enabled and restricting other things like suggesting php inbuilt functions etc.
Also it should have been made clear that it can be used in trial mode and try full feature and then can be used even after trial period finished. Official website seems vague about it and gives us the feeling like we have to explicitly buy it after using trial period. And avoid even to download and try out because of that.
All in all, very good job guys, keep it up. Just make clear in website, it can be used in trial mode as long as we want and try out pro feature. That will bring hesitating users.

by miloslavbeno | August 27 2015


I use PHP Tools on daily basis, so I feel like I should also post a review (I do work at DEVSENSE). I really like how IntelliSense helps me to stay productive when I switch to PHP, as I usually code in C#. The switch between languages is less noticeable for me with each update of PHP Tools.

With the code assistance I do not need to look at PHP documentation almost at all. I do really like refactoring capabilities and ability to debug the code.

I love how I can use PHP Tools with the other great extensions as Web Essentials, Task Runner Explorer, etc.

I want to thank to the rest of the team for great work!

Miloslav Beno

by Maroš | August 27 2015

Finally one solid PHP development environment in Visual Studio! Debugging and IntelliSense and everything just as I'm used to from C#

by Jakub Misek | August 27 2015

Great PHP integration for my favorite development environment. Helps me with all my PHP struggling, debugging and IntelliSense are priceless!

DEVSENSE August 27 2015
| Edit |

Hi Jakub,

Thanks for taking time to rate our extension. I'm very happy that people working at DEVSENSE actually also like to use PHP Tools for Visual Studio.

Best Regards!

by Julio Cesar Murcia | August 26 2015

Hi, I have the PHP tools in Vs2013 but F12 doesn't works to go function declaration.

DEVSENSE August 26 2015
| Edit |

Hi Julio,

Find All References (F12) is supported functionality. If it doesn't work as expected, please contact us on support or just emails us to We will help you to overcome the issue.



by MarkPan55 | August 25 2015

Cannot uninstal on W10 running VS2015. Tried from remove programs system app and from vs2015 (uninstall and disable buttons are disabled).
Unhappy and frustrated!

DEVSENSE August 26 2015
| Edit |


PHP Tools are using standard MSI installer, so uninstall is available at Control Panel (in Win10 in the Settings app). Visual Studio extensions manager is not able to remove complex extensions, only vsix installed extensions. That's why it's disabled there.

Anyway if Win 10 Settings app doesn't remove PHP Tools properly in your case, please contact us on or on support, we will be happy to assist you with any issue you might be having.

Thank you,

by Angus.Fenying | August 21 2015

I have tried this extension in vs2015 community.

To be honest, not bad, but still can't catch up the PDT (Eclipse for PHP).

For example,

use \test\abc as abc; # a namespace named abc

when I typed

abc\ # here is no auto-completion for any child of namespace abc.

uh, here is some advantages that's better than PDT, if I typed

use abc\ClassA as ClassB;

new ClassB();

the tips of ClassB will tells me the definition of ClassA, while PDT is just telling me ClassB is ClassA.

also, the auto-completion is not real good, when I typed


yes, it tips $this, but it's not auto selected. When I click ENTER, it gets a new line, instead of completing as $this. Here I wish it can auto select the first item in the list of auto-completion, so that I can click ENTER to finished typing quickly.

finally, please add the supports for constant array.

const ABC = [1,2,3,4];
$c = ABC[1]; // here reports an error, but it's correct.

this is a new feature of PHP 5.6, and neither PDT nor phpstorm supports it so far.

by Christopher Johns | August 03 2015

DEVSENSE August 03 2015
| Edit |

Hello Christopher!

I'm sorry we didn't fill your expectations. If you could provide us with any feedback we'd greatly appreciate it and we would be most likely able to help you overcome an issue you might be having.

Thank you!

by Paul Harding of Jennings | August 03 2015

Update August 2015: I'm editing my review just to let people know that although early days, it does work fine with Visual Studio Community Edition 2015 on Windows 8 and on Windows 10. You can download community Edition free so using PHP Tools for VS is now even better.

Original review:
The product is superb - excellent intellisense, debugging and code snippets.

I'm very happy to pay for good quality software and this is the right price.

One feature I have asked for is for the GUI to highlight unused and uninitialized variables, and they tell me this is in the pipeline. It's good to know this is under active, current development. *Update Feb 2015: This has now been implemented in 1.15 and is very good indeed, thank you!

Very happy with this product.

by VaderJason | July 20 2015

I've used other php visual studio extensions, but I really like the usability of PHP Tools over the other plugins. Support for namespacing, solution variables and constants, and even for the newest PHP features is second to none.

The intellisense has tons of useful information, I don't find myself looking to nearly as much to remember function/method signatures.

I've really enjoyed working with this plugin. After the trial period, I promptly purchased a license as this is where I'm going to stay.

I'm excited to see where they take this plugin.

DEVSENSE July 21 2015
| Edit |

Hello VaderJason,

Thank you so much for your detailed review!

We are very happy that your PHP coding is easier with PHP Tools for Visual Studio.

If you'd find anything we could improved to make it even better, please give us know. We are always happy to receive feedback.

Thanks again and have a great day!


by kipy | July 20 2015


I was wondering if there's any plan to support the upcoming version 7 of PHP, especially with the add of type hinting. (Allowing all sort of Intelisense improvements ?). That would be great :)

Anyway, i'm a happy licenced user. This add on is great and as far the best i've tested. Congratz.

DEVSENSE July 21 2015
| Edit |


Thank you for taking time to review our extension! We're very glad you are happy user!

All of the features are on the development list, so you are going to get them :-)

Have a great day!

by Thomasmikava | June 30 2015

I like extension, But I'd like to have feature of "pretty print". Like visual studio does for JavaScript, once you put semi-colon, line becomes pretty, And once you put "}" after function or loop, whole context between "{" and "}" becomes beautifully arranged. So, i will be very satisfied if you add "pretty printing" feature. Thanks!

by Ben Fistein | June 24 2015

I was pleasantly surprised how much easier this tool makes my daily work and how much time it saves me. For this price it's a must have for any solid developer.

DEVSENSE June 30 2015
| Edit |

Hi Ben,

Thank you very much for taking time to review our extension! I'm very glad it saves you the time. We hope you'll also like all the new productivity features we are working on for the next releases.

Have a great day!

by Sonic Parks | June 21 2015

Hello! I'm from Brazil! You are the best! People like you improve the world! Continue with this work and do not give up ! Congratulations ! I am very happy!Best PHP working tool! The Eclipse and Netbeans team should learn from you to facilitate the work of programmers.

DEVSENSE June 30 2015
| Edit |

Hello Sonic!

Thank you so much for the review! Everyone here just loved it! It's a pleasure to have users that appreciate our hard work on this.

Thanks so much and have a great day,

by Cesar Casas Q | June 19 2015

With the last update, when i am coding, this extension doesn't apply indentation, doesn't close tags, and doesn't show the variables... Now, this is like any other text editor, or even worse.

DEVSENSE June 19 2015
| Edit |


Thanks for the feedback! Please send us email to with information what VS do you use, we'll help to get you up and running again.


by blhwk | June 19 2015

too slow

DEVSENSE June 19 2015
| Edit |


Thank you for your feedback! Could you please specify in more detail what particular performance issue you've been having and more about the size of your project and hardware specs? Just email us at, we'd really appreciate that we'll take a look at it ASAP.

Thank you!

by xgatesomesoft | June 17 2015

A very useful tool. Best php code refactoring I have ever met.

DEVSENSE June 17 2015
| Edit |


Thank you so much for your review! We're are very happy that you like our latest Refactoring feature! And we also hope you'll also like more productivity features that are coming.

Have a great day!

by Fourier Serious | June 09 2015

DEVSENSE June 09 2015
| Edit |


I'm sorry we didn't fill your expectations. If you could give us any feedback (e.g. mail to what you didn't like or what we could do better, we'd deeply appreciate it!

Thank so much!

by Tiago Curto | May 25 2015

this work on VS 2013 express for web?
I can't install.

DEVSENSE May 25 2015
| Edit |


Unfortunately Visual Studio Express licensing doesn't support extensions from other vendors than Microsoft. e.g.

But, there is a free Visual Studio 2013 Community, which is basically VS Professional. You can install PHP Tools there.

Could you please re-evaluate once you try the extension? DEVSENSE unfortunately can't change the fact VS Express versions are not extensible.

Thanks so much!

Best Regards,

by hudsonvsm | May 23 2015

Well done i like it. Will be better if able to detect magic constructors automaticly.

DEVSENSE June 17 2015
| Edit |


Thank you very much for your review and feedback!

Could you please specify in more detail "detect magic constructors automatically"? We'll be happy to take a look at it, just send us an email to or post it to our forum

Thanks again and have a great day!

1 - 20 of 117 Items   
Sign in to start a discussion

  • Namespace Alignment (next line column alignment)
    5 Posts | Last post July 27, 2015
    • The latest updates (3) have broken a feature that the previous version finally fixed.
      I had been waiting for months for a fix for When you type  a namespaced function like: \namespace\class::method(args); then hit 'Enter', it aligns the next line's first column with the n in namespace instead of the same column as the '\'.
      It was finally fixed 3 versions ago for the first time, the last of the 1.16.**** series.  The last 3 (including the current version of 1.17.8019.2015) have broken this feature again.
      Any thoughts?
    • I just downloaded 1.17.8023 that seems to have fixed the problem.  Thank you!
    • Hello VaderJason,
      It's the new improved smart indentation. I'm glad it works for you!
      If you'd find some case you'd like to have us handled, please don't hesitate to give us know.
      Have a great day,
    • I found a case where "Expand and Collapse" codes sections is now not working as expected.  When you use ?><?php to insert html in a function, the expand/collapse button is no longer on the function statement, but on the html.
      01 public static function do_something($args)
      02 {
      03     $var = 1;
      05 ?>
      06     <div>Hello</div>
      07     <div>
      08         <ul>
      09             <li>hi</li>
      10             <li>goodbye</li>
      11             <li>hello</li>
      12         </ul>
      13     </div>
      14 <?php
      15 }
      The collapse is on line 6 and only collapses lines 6-13 instead of being on line 1 and collapsing lines 1-15
      Thank you!
    • It is limitation of Visual Studio Editor, HTML/PHP regions cannot intersect.
  • Runphp : Failure
    4 Posts | Last post July 21, 2015
    • I have VS2013 Premium, loaded and activated the trial version. Tried to debug the hello world project template. It tries to run PHPHelper and install PHP with xdebug. It fails for ;
      runphp : Failed.
      Downloaded file failed signature verification and may have been tampered with
      DependencyFailed : PHP 5.6.0 For IIS Express
      DependencyFailed : Xdebug for PHP 5.6
      Verifying successful installation...
      RunPHP Helper                                      False
      PHP 5.6.0 For IIS Express                          False
      Xdebug for PHP 5.6                                 False
      Install of Products: FAILURE
      I have admin and C++ redistributatble x64 installed. Any ideas. Googling this problem shows that I am not the only one that has had this but I am not able to find a solution.
    • Hi Richard,
      Thanks for giving us know about this issue.
      First thing please update WebPlatform installer, it's most likely not the cause of the issue, just to rule out some variables. 
      I'm thinking if that might be some firewall/proxy issue, all these packages are actually located at . Could you please check if you are allowed to access it from your location?
    • Thank you for replying so quickly. I installed it at home, no proxy and it works. The problem was at work. However, I have full access to sourceforge, having downloaded from the site for a number of other items.
      Is there a way to manually accomplish the same thing? We have separate .Net and PHP groups and I need to demo PHP integration into VS next week. BTW, I am on the .Net side.
      Thank you,
    • Hi Richard,
      You can accomplish completely the same thing manually. It might be a little bit of hassle though:
      - Download
      - Unzip to %ProgramFiles(x86)%\runphp\
      - Download
      - Run /C copy "%ProgramFiles(x86)%\runphp\runphp.cmd" "%ProgramFiles(x86)%\iis express\PHP\v5.6\runphp.cmd"
      - Unzip to "%ProgramFiles(x86)%\IIS Express\PHP\v5.6\ext\"
      - and configure xdebug in your php.ini 
      I Hope that will help.
  • Kaspersky dont allow install plugin
    3 Posts | Last post July 19, 2015
    • Kaspersky find trojan spyware in installer and not allow to install version 1.16.7958
    • Hello!
      Thank you for notifying us about this! We will contact Kaspersky team to resolve this issue. But you can be sure, if the installer is signed by DEVSENSE code-signing certificate that it wasn't altered and it does what's supposed to do.
      Best Regards,
    • Hello, 
      Just notifying that Kaspersky team marked this as false positive and will fix it in the next update.
      Thanks again for giving us know!
      Best Regards!
  • Code completion
    3 Posts | Last post July 17, 2015
    • Code completion is not required. But I have to pay?
    • 사용을 하지 못한 채 30일 시간이 지나서, 구입하기도 애매합니다.ㅠㅠ
    • The software is distributed as a trial. You can use all the features like debugging, code completion, function signature helper, tooltips, datatips, navigation features, refactoring and others for 30 days.
      After this period, without valid license, you can open your PHP projects and files without the ability to benefit from the features above.
  • Can't find the tool anywhere
    2 Posts | Last post July 01, 2015
    • Hi,
      After having a clean install of VS 2012 Ultimate I dowloaded PHP Tools, installed it with no errors, and then after restarting VS it seems that the extension is not installed although it is ( in my control panel I can unistall it for programs and extensions pane). Tried to restart my computer with no results though. 
      Any help is much appreciated!
    • Hi,
      Thanks for the post. What VS version do you have? Could you please check if the PHP Tools for VS are really installed in VS, just go to Help | PHP Tools for Visual Studio. If you can see the dialog  PHP Tools are installed.
      May I also ask you to send us VS Activity log, it would help us determine what's going. Just follow the instructions on this page
      Thank you!
  • Debugger not stopping at breakpoints
    4 Posts | Last post June 11, 2015
    • Hi,
      Thanks for designing this very handy plugin!
      I have a slight problem though. When I launch the debugger, it stops at breakpoints only if I set "Start Action" to "Current page" in the project properties. Any idea why it's not working with the "Start URL" option?
      Some system info:
      - Wamp (standard config)
      - the "Start URL" I wish to use: http://localhost/MyProject/web/app_dev.php
      - In the properties, "Servers" is set to "PHP built-in Web Server" with host name "localhost" (standard config I believe)
      - "Apply servers settings to all users" is ticked...
    • Hello,
      Thanks for your post!
      If you have WAMP, and you are also going to deploy your application to Apache... I would recommend not using PHP build-in Web Server, but use WAMP instead.
      You'll just have to setup virtual directory on WAMP to the project root and in project properties setup Servers to Use custom web server: and fill the virtual directory of your project/website.
      But back to the Start URL option. That should work the same way as current page. Make sure when you hit F5 that your browser is opened with XDEBUG_SESSION_START added to your url. This way xdebug is instructed to start the debug session.
      You can also instruct xdebug to try to init debug sessions each time by adding this to your php.ini:
      xdebug.remote_autostart = on
      VS will handle it correctly and only debug when VS is in debug mode.
      Please give me know if any of that helped or you'd need additional assistance.
      Thank you!
    • Hello,
      Thanks for your answer!
      I followed your advice and created a virtual directory for my project. It went fine.
      However, I am still not able to make xdebug work as expected. XDEBUG_SESSION_START appears indeed in the url of my browser but the page does not stop at breakpoints in VS.
      This is not a big issue though, I can live without it and I don't want to waste your time for a minor problem.
      Thanks for helping!
    • Hello,
      Thanks for the response.
      You can try to go through debug troubleshooting:
      But strange thing is it works with current page, but does not with start url option. If you'd like we could take a look together, just write us to
      Thanks and have a nice day!
  • .htaccess
    2 Posts | Last post June 08, 2015
    • Hello, how can I use .htaccess with integrated WebServer?
    • Hello Frantisek,
      htaccess rules are used by Apache server. PHP Tools by default just use PHP build-in server(which is just simple server that comes with php framework) or IIS Express. Both doesn't support htaccess, but ...
      - If you want to use php build in server, there is simple htaccess simulator project ( ) but it's not feature equivalent and it has its bugs. I wouldn't recommend it for any bigger project.
      - for IIS Express you can convert htaccess file to equivalent for IIS/IIS express 
      - Or the best way to get htaccess to work is just to install Apache and run your projects with Apache ( just setup your project in project properties to use custom server and fill url of the project ). If you are going to deploy your php application to apache server, this is the way to go. So your development/production environment would be the same.
      Thank you!
  • Setting a custom web root
    2 Posts | Last post June 07, 2015
    • Is it possible to set a custom web root? I have set up a structure for my project that mirrors what will be on the final server it requires having sub directories in the project to protect php's that will only ever be included or required and contain vital information that can never be exposed to the client. It seems the only possible way to set the web root is to put the project file in the directory that is to be the web root but then the project no longer recognizes any folders above the one it's in and puts all the other files in the root of the project. I would prefer if there was an option in the properties dialog for the project to set the web root, since I'm sure this is being passed as a parameter to the built in php server. Will these be a feature available in the future or is there any way to possibly do this already?
    • Hi,
      You are right, that would be quite useful reasonable feature to configure relative path to actual server root.
      For now, you can setup custom web server, and we'll try to put this option into close future update.
      Thank you!
  • Visual Studio PHP Tools not formatting code
    4 Posts | Last post May 25, 2015
    • I'm writing php in Visual Studio using the PHP Tools extension. The code formatting of the PHP Tools doesn't seem to be working.
      The formatting option is available in the options menu under 'Text Editor>PHP>Formatting'.
      And I have tried linking the php-extension to the PHP Editor in the options menu under 'Text Editor>File Extension'.
      But nothing seems to work. When I try right-clicking a php document and choose Formatting and Validation it goes straight to 'Text Editor>HTML (Web Forms)'.
      The problem seems to lie with Visual Studio not recognizing php as a language. Anybody an idea? Thanks in advance.
    • Hi Lowie,
      Thanks for your post.
      The reason why our code formatting is connected with HTML formatting is that very often php files also contains HTML code and we have to take into account also HTML formatting settings. In case you don't care about this case, you can turn off VS HTML support in php files (there will still be basic HTML support, syntax highlight and basic formatting) - Enable HTML Editor in PHP files => FALSE.
      Anyway php formatting should work in both cases and by default with .php extension files. Just make sure the code is syntactically correct, if not we don't format it as there might be some unexpected results.
      If formatting still doesn't work please contact us at with code sample and we'll take a look into your particular case.
      Thank you!
    • Hi Reader...
      How to configure(how to set php path) php in vs 2013...
    • PHP can be configured in Tools | Options | PHP Tools | Interpreter. See for more details.
  • Great Job
    2 Posts | Last post May 09, 2015
    • This is a great tool sir. 
      Thank you for doing this.
      I have a question, can you please add refresh to the Solution Explorer View? I update my source control, but the files don't show up right away. I have to close project just to refresh the Project Folder.
    • Thank you! We're glad you like our tools.
      Solution Explorer should refresh automatically, definitely after source control update. We'll try to replicate the issue and give you know.
1 - 10 of 125 Items