PHP Tools for Visual Studio

VSIP Partner Trial

Provides full featured support for editing and debugging PHP programs.

(110) Review
Visual Studio
2015, 2013, 2012, 2010
Download (315,940)
6/30/2015
1.16.7958
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (110)
Q and A (121)
Sign in to write a review
Sort by:

by Thomasmikava | Tue 7:34 PM

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 Tue 8:51 AM
| Edit |
Delete

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!
DEVSENSE

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 Tue 8:46 AM
| Edit |
Delete

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,
DEVSENSE

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 |
Delete

Hello,

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

Thanks!
DEVSENSE

by blhwk | June 19 2015

too slow

DEVSENSE June 19 2015
| Edit |
Delete

Hello,

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 info@devsense.com, we'd really appreciate that we'll take a look at it ASAP.

Thank you!
DEVSENSE

by xgatesomesoft | June 17 2015

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

DEVSENSE June 17 2015
| Edit |
Delete

Hello,

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!
DEVSENSE

by Jakub Misek | June 16 2015

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

DEVSENSE June 17 2015
| Edit |
Delete

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!
DEVSENSE

by Fourier Serious | June 09 2015

DEVSENSE June 09 2015
| Edit |
Delete

Hello!

I'm sorry we didn't fill your expectations. If you could give us any feedback (e.g. mail to info@devsense.com) 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 |
Delete

Hello!

Unfortunately Visual Studio Express licensing doesn't support extensions from other vendors than Microsoft. e.g. http://visualstudiomagazine.com/articles/2014/05/21/no-extensions-for-visual-studio-express.aspx

But, there is a free Visual Studio 2013 Community http://www.visualstudio.com/en-us/downloads/download-visual-studio-vs#d-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,
DEVSENSE

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 |
Delete

Hello,

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 info@devsense.com or post it to our forum http://support.devsense.com.

Thanks again and have a great day!
DEVSENSE

by NitinSrivastava | April 28 2015

Works well in my experience. Good Intellisense, debugging support.

DEVSENSE May 11 2015
| Edit |
Delete

Thanks so much for your review!

Cheers,
DEVSENSE

by DavidBCN3 | April 25 2015

Awesome plugin. Nothing to envy from PHP specific IDE's. Indeed, this is more lightweight and fast than any Eclipse based PHP IDE I've come accross.

They keep adding new features on an ongoing basis, and the developers are responsive on the forums taking new ideas and fixing issues if they show up.

For $150 professional and $80 personal, this is a gift. Still a bit rough around the edges though.

DEVSENSE May 11 2015
| Edit |
Delete

Hi David,

Thank you so much for your review!

We deeply appreciate all the feedback you've given to us.

Thanks again and have a great day!

DEVSENSE

by Ivan Zhekov | March 23 2015

The best intellisense support for PHP in VS you will find. Yes, there are PHP specific IDEs that may do much better job, but if you want/need to use your Visual Studio with PHP, PHP Tools for VS is exactly what you're looking for.

DEVSENSE May 11 2015
| Edit |
Delete

Hi Ivan,

Thank you so much for your review! We'll continuously work on suggested features, so hopefully anything missing will be soon filled in.

Have a great day!
DEVSENSE

by MeteorGX | March 06 2015

I very like The tool;Also Thanks you to developers!

DEVSENSE March 06 2015
| Edit |
Delete

Hello,

Thank you so much for your review!

Have a great day!

Kind Regards,
DEVSENSE

by GunnarGabrielson | March 05 2015

DEVSENSE March 06 2015
| Edit |
Delete

Hi!

Thanks so much for your review!

Cheers,
DEVSENSE

by Gustavo Rodriguez Baldera | March 03 2015

Nice tool, but, is there support for composer?

DEVSENSE March 06 2015
| Edit |
Delete

Hello,

Thank you for your review! Extensive composer support was added in 1.15 version which was released today.

Best Regards,
DEVSENSE

You guys did a great job from what I've seen while debugging in the last hour.

I'm very demanding (starting programming in 1971) and you folks thrilled me.

Only annoying issue so far is that editor window keeps resetting the zoom level during debugging, so I have to keep zooming in when focus changes between scripts.

Would also love if I could zoom in the debug windows (e.g. Locals, Call Stack...)

DEVSENSE March 06 2015
| Edit |
Delete

Hello,

Thank you so much for your great review! We're very glad that PHP Tools have satisfied your demands.

About zooming feature.... The setting of zoom is by default page specific in VS. What you can do is to change font setting in VS globally ( https://msdn.microsoft.com/en-us/library/ms165337.aspx ). This can be also done for debug windows font size.

I hope that will help!

Thanks again!

Best Regards,
DEVSENSE

by Trevor Lowing | February 18 2015

Malware. DEVSENCE has written the addin so you cannot uninstall it and it constantly nags you unless you register it.

DEVSENSE February 18 2015
| Edit |
Delete

Hello Trevor,

I'm sorry we didn't fill your expectations.

The initial dialog is there to inform our users that they can run 30days trial for free. And you can always Close this dialog with option Never shows this again.

Since 1.11 version PHP Tools for Visual Studio is installed through standard Windows Installer. Use Programs and Features in Windows Control Panel for uninstall.

Doc http://www.devsense.com/doc/phptools/installation/uninstallation

If you'd need any additional assistance just contact us at info@devsense.com or http://support.devsense.com, we'll be happy to help.

Thank you and have a nice day,
DEVSENSE

by Paul Harding of Jennings | February 02 2015

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.

DEVSENSE February 18 2015
| Edit |
Delete

Hi Paul,

Thanks so much for your review and keeping it updated!

It's a pleasure to have users that appreciate our hard work on this.

Thanks so much and have a great day,
DEVSENSE

by takiru | January 22 2015

Hello.

I this, we use in Visual Studio Professional 2012 Update 4.
Version you are using is 1.14.5747.2012.

This is a great application that does not impair the operation feeling of VS.
However, there are some drawbacks, it is a personal sorry.

• In order to "Ctrl + M, Ctrl + L" of VS function does not work, it is not easy to switch between outline.
• In intellisense of method, description of the return value is not out.
• File when you have opened, all outline will be deployed, it does not return to the state it was in when you close the document.
• Class, when folded comments of methods, all is "summary".If possible, I want to display the first line of the description.
• Not multi-localized difference. I hope the Japanese.

And if possible, I want you to solve these problems that plague me.
I am looking forward to the further growth.

Thank you.

DEVSENSE January 29 2015
| Edit |
Delete

Hello takiru,

Thank you very much for your review and suggestions on particular features!

1.) 1.15 has Ctrl + M + L support
2.) 1.15 supports this
3.) This is unfortunately outside of our control. We're using Visual Studio HTML editor which does this. You could always turn off Visual Studio HTML support and then it will be using our basic HTML support which supports this feature ( Tools | Options | PHP Tools | Advanced | Enable HTML Editor in PHP files => FALSE )
4.) Supported in 1.15 release
5.) Currently we just support English. We'll take a look at localization in close future.

Thank you so much!

Have a great day,
DEVSENSE

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


  • Can't find the tool anywhere
    2 Posts | Last post Wed 12:54 PM
    • 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 http://www.devsense.com/doc/phptools/troubleshooting/activitylog-xml
      
      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...
      
      Thanks!
    • 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: http://www.devsense.com/doc/phptools/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 info@devsense.com.
      
      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 (https://github.com/jaytaph/HTRouter ) 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 http://www.iis.net/learn/extensions/url-rewrite-module 
      
      - 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 info@devsense.com 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...
      thxs...
      
    • PHP can be configured in Tools | Options | PHP Tools | Interpreter. See http://www.devsense.com/doc/phptools/installation/installing-php for more details.
      
      Thanks
  • 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.
  • PHP Debugging problem or misconfiguration?
    2 Posts | Last post May 02, 2015
    • Hello,
      
      I was also very impressed about this tool and how I can really used it almost like a .NET application. However I am having a critical issue in my dev environment, before (with a simple application) I was able to add breakpoints and debug but now after stopping in a breakpoint the debugger stops and I have a "Connection Refused" in the browser, can you help me with this? 
      
      Regards 
    • Hello David,
      
      Thank you for your post!
      
      This seems as the same issue you've sent us through email. We'll respond you there. 
      
      Thank you!
  • Laravel
    1 Posts | Last post April 27, 2015
    • Is it possible to use visual studio IDE and work through a laravel folder within it. I am looking to build a hybrid app using laravel as the backend and use visual studio for the IDE and install cordova/ionic plugins. Is this all possible?
  • CakePhP
    2 Posts | Last post April 21, 2015
    • Good evening, you can develop with visual studio cakephp and php Tools? and more importantly can it be done debugging with visual studio cakephp and php Tools?
    • Hi Carlos,
      
      Yes, you can use CakePHP and you can debug it as well. Please give it a try, it's 30days trial to see if it fits your needs.
      
      Thanks!
  • No syntax highlighting
    2 Posts | Last post April 21, 2015
    • Hi
      
      I installed the latest photos Dev tools in
      VS2013 update 4 however I didn't have any highlighting when I opened my functions.php file. Checked the php editor  settings and the editor is enabled. 
      Any ideas 
      
    • Hi,
      
      Please take a look http://support.devsense.com/viewtopic.php?f=21&t=1524 . This might be the same case. 
      
      I hope that helps.
      
      Thanks!
1 - 10 of 121 Items