I can say this is one of the best plugin that I ever used!! Especially ability to debug wordpress site is PRICELESS for me. I can't explain how many hours I already saved with this tool. Now Im thinking how the hell I was doing that before.. ugh dont even wanna think about it anymore. I immediately got a license... THANK YOU AND GOD BLESS!
I'm a C# developer that has inherited a PHP project (CodeIgniter). I was really happy to find PHPTools as it meant I could continue using the Visual Studio IDE that I'm so familiar with. Also, I did test out a few other IDE's that were dedicated to PHP and found them quite slow or just not as polished.
PHPTools was also fantastic that it works with it's own inbuilt server and IIS Express as you prefer. It also encourages and configures debugging for you (including guides to install xdebug if necessary).
For someone new to the PHP world, I had to visit the Devsense forums to get familiar with it all. There I found a lot of helpful articles and every post I clicked on had responses from the developers of the product.
There were a few features I missed from C# and I suggested this on the forum and they were implemented within 2 weeks in a new release. When I couldn't get the feature to work the developer took the time to do a skype and screenshare with me and fixed the error I was making.
I can't recommend the PHPTools product and the Devsense customer service highly enough. They might just make me a PHP convert! ;)
Thank you for your review! Uninstall has to be made from Control Panel(Documentation: http://docs.devsense.com/installation/uninstall). Uninstall in the Extension manager is only available for VSIX extensions, which is too limited for language integrations.
Tool constantly hangs in Visual Studio 2015 Community. Selecting just simple text to remove from a PHP file. Visual Studio 2015 goes to NOT RESPONDING. I was so excited for this tool. I can't say I would ask my company to pay for this with this type of bug.
Thank you for the review. I've responded to your question at Q&A tab, please take a look and if you'd still experience any issue please write us an email to firstname.lastname@example.org we will help to configure it.
It's hard for us to respond to review like this as it doesn't really say anything about the product except that is paid. We try to bring the best possible experience with PHP into VS and offer good support. To be able to do that we need to charge for the product.
This extension is a great addition to the Visual Studio product. It allows us to integrate PHP programming in the classroom using Visual Studio, providing the debug support that we are use to with other languages such as C++ and C#. In addition, this product provides a much easier path for getting PHP setup and working using the local machine.
We're very sorry for this experience. Most likely this would be result of unexpected interaction with another extension. While we test with most frequent VS extensions, it's hard to test all of them. If we'd know more details about the exception we'd fix this immediately. Or if the issue is present in another extension we could contact the other vendor. If you'd like to try the extension again, please contact us at email@example.com we will be very happy to assist.
I would like to use this but doesn't seem compatible with Uniserver. The php.ini file has macros in it for file paths, and this extension just keeps complaining it can't find the php.ini file. I tried copying the one uniserver eventually uses based on its configuration, from php_production.ini to php.ini, but after getting it to work, now this extension says it can't find mysqli, which is built into the configuration (again) of uniserver. I have no issue using Eclipse, I'm not sure why this extension insists on validating my php setup before running.
Thanks for your feedback. We do this only for "Controlled environments" as IIExprees, but if you want to use different server, just select Use Custom Server in project properties ( right click on project node in Solution Explorer, select Properties) and fill URL of the project. No configuration will be checked and we won't care about php.ini.
Please let us know if that solved the issue you've been having. You can just ping us on firstname.lastname@example.org or on http://support.devsense.com
There seems to be a problem with symbolic links on Windows and your extension. Your extension is providing wrong file paths to the php-xdebug extension and therefore the VS isn't stopping at the breakpoints. The extension is working fine if the files aren't symbolically linked.
The remote debugging with php-xdebug is working fine in Netbeans but Netbeans is providing Path Mapping support which is very useful for Remote debugging and Symbolic links.
VS project settings:
- Don't open page. Wait for a request from an external application.
- Custom server and custom URL
- Default Xdebug port (9000)
Note also that your extensions doesn't support XDEBUG_SESSION cookie which is also supported by Netbeans and is really useful with browser xdebug plugins.
Please fix it if you can!
Are you planning to enable soon an upload (publish) on save? (for the files being saved)
Me and my team tried your extension but this feature is the one that forces us back to Atom for fast edits.
Please consider to add it.
(the event is dte.events.documentevents.documentsaved)
I am running VS2015 with PHP Tools for Visual Studio 2015 1.19.8719. I have loaded standard Wordpress into a project, but after running the installation the Wordpress page never shows up. I have other PHP-projects that works without problems.
Any hints on where to start looking?
I also want to second that this is a wonderful tool. The one thing that I could really use is the ability to publish by folder and/or file.
I want to be able to use the Intellisense for all of WordPress, but if I exclude everything but the theme (all I really want to publish), I can't get Intellisense. If I keep everything but the theme, I have to publish everything - meaning I can't update WordPress on the server without also updating it in the project, and same goes for plugins, etc.
It would make my life a ton easier if I could just publish the themes folder! Any word on when that functionality possibly be included at some point in the future?
There are couple of ways how to achieve what you want.
1. Once you have publish profile created, publish selection feature get enabled. So when you right click on the file/folder you can publish just that node.
2. You can create two projects:
- Project A: Wordpress
- Project B: Theme
- Create project reference in ProjB to ProjA, so you'll get the Intellisense there. - Setup publishing for ProjB.
For debugging to work properly in this setup, check this http://support.devsense.com/viewtopic.php?f=21&t=1171&p=6241&hilit=wordpress+plugin+reference#p6241
In regard to publishable folders, I would like to be able to not publish a specific folder tree. I have my SASS included in the project - using Web Essentials to compile it - but I do not want it to be published with the site.
Is there a way to stop the publish from including this?
I have tried:
- Setting Publishable:false on the folder in the phpproj file
- Setting Publishable:false on all files in the tree - this stops the files but still creates the tree.
Developing a CodeIgniter project, to add an intellisense I have to add an external reference.
How can I do this for PHP?
or Where do I place the code? I can't found the setting to add external reference in Tools -> Options.
Thanks for the post. Basicaly you can put this file anywhere in the project for IntelliseSense to pick it up. We have a thread on our support forum discussing this question. http://support.devsense.com/viewtopic.php?f=21&t=1728&p=7854&hilit=codeigniter#p7795
Please let me know if it helped.
Hi, I am very tempted to buy this however I am not sure if it supports debuging an RESTful api or not?
for example this: http://localhost:6082/public/default.php works fine
however this: http://localhost:6082/v1/contact_template
returns: The requested resource /v1/contact_template was not found on this server.
I assure you that it is there though :-)
I think the issue is related to using PHP build-in web server, which would need route script in order to handle these types of URLs.
You can switch to IIS Express easily in project properties, Server tab. PHP Tools will set everything up. Then you can use URL rewrite module to setup URL rewrites.
Or if you are using .htaccess you can use/install Apache server and select Custom server option in the server tab. In this case you'd have to setup the server yourself and just provide php tools with the virtual URL.
I am trying to use trial version of this product.
When I started to debug php project, the VS says error message below.
Your envrionment is missing PHP 5.6 with debugging extension.
THe PHP 5.6 and Xdebug is missing. Microsoft Web Platform installer will automatically intall and configure PHP and Xdebug.
When I click OK, the red button on the top right occurs and it stops.
How can I solve this problem?
Thanks for your post.
It seems automatic installation was unable to install php 5.6/xdebug, when you click on the red button you might see more information. Please check if you have latest Web Platform installer and let us know what does it say. You may directly email as at email@example.com
Thanks for the post. Do you still experience the issue?
This should not be happening after installation, but you might try just to reopen the files previously opened as they might be still opened in previous default Text editor from VS.
Please let me know.
What's wrong with XAMPP/xDebug/PHPTools and how can I fix this?
Could you please tell us the details step.
I have also configured all xDebug and php.ini file properly as mansion your site . But it is not working working ..
Thanks for your post.
There are number of things necessary to check when using XAMPP:
- check if you are using PHP Project, not ASP.NET web site
- make sure xdebug is load correctly, run <?php phpinfo(); script to see if xdebug is listed in loaded extensions
- Check project properties ( right click on the project node in solution folder), select Server tab, you have to setup Custom server and insert correct URL configured in XAMPP.
If these 3 points are fulfilled, it should work. Please write us an email to firstname.lastname@example.org if you still have any issue with this. We will help you to set everything up.
Thank you so much,