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.
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.
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!
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 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.
This a very good product. Sadly I can't give it the 5 stars I want to, as the ability to change how code is formatted is not present. I like to customize how my code is formatted (curly braces on a new line, etc.) but this is absent.
Add the ability to change how code is displayed, see how PHP Storm handles it as a good example, and you will have a fantastic product, instead of just the very good one which it currently is.
As a .NET developer I recently decided to put together a web site using AngularJS and PHP.
I purchased a copy of JetBrains PhpStorm as I have their brilliant .NET tools. I have not been able to get the debugging to work as I would like it to - like it does in Visual Studio.
I stumbled across PHP Tools for VS whilst looking for something else and decided to give it a try. Three days later I have bought a licence!
I can now develop PHP, a language I am not that fluent in, within Visual Studio, an IDE I have used daily for 8 years and the debugging capability is amazing. If feels so natural to hover over a var and the current value pop up.
Being able to debug PHP as I would C# saves a massive amount of time.
This is only a hobby site I am working on but my productivity has shot through the roof by using this tool!
Installers beware!! The uninstall doesn't work if you can't contact their activation server. In my corporate environment, much of the internet is blocked (including their activation server) and now, after installing and realizing I can't activate a trial, I can't successfully uninstall it (the uninstall fails at the end with an error box and then it rolls back).
Bad form, DEVSENSE. I thought we were past all such childish ways.
(I would put no stars, but Microsoft is giving you 1 star for nothing)
(scrolling through the comments below, I will check this document: http://www.devsense.com/doc/phptools/installation/uninstallation to see if I can get things cleaned up).
(or I guess I won't. When trying to access the document to explain how to manually uninstall, I get: "Geolocation Filter of of McAfee Web Gateway. The URL is listed in a country that is not allowed by your administrator at this time." ) Not their fault, but it's now my mess to cleanup).
Hi, I have tested the extension. But there are many things that are missing. - Refactoring - IntelliSense by database (project database ... table, fields) - Drag and drop items from project explorer, eg: in php: include, require file with path in html img tag src value: path to this resource - Add Framworks (php, js)
There's also an error in private member variables. These are displayed by the intellisense / codecompletition on an object variable.
This extension has just BEATA-STATUS.
Take a look at NetBeans, PHPEdit, PHPEd for functionality.
I'am working with PHP Tools for several month now, enjoying the seamless integration into Visual Studio. Each time after having installed an update I'm looking for the well known 'refactor' menu item in the context menu. At least a support for renaming shouldn't be too hard to implement and I think it would be appreciated by most developers.
This extension is great. We have the paid version and the debugging works really well. My comment would be that large projects take quite a while to load in when a PHP project is created and has files added. Can it be made to defer processing of PHP files so all folders and files can be loaded into the solution explorer first?
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.
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?
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?
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.
Thanks for the question. AngularJS intellisense and other cool stuff is on the development list, but it has one prerequisite which we are working on now. I've provided more details in our support forum + workaround for AngularJS support with the current version. Please take a look http://support.devsense.com/viewtopic.php?f=21&t=1227&p=5800&hilit=AngularJS#p5800
I hope that will help a little
I use VS for .NET stuff, and PHPStorm for php. I chose PHPStorm because of its support for the Yii MVC framework. I still like the IDE of VS better, but does PHP Tools support MVC frameworks? If so, how do I make it work 'best'?
You can install Yii using Composer (http://www.devsense.com/doc/phptools/projects/composer) and use it as described at Yii documentation. Since there is no special syntax for Yii views, PHP Tools will handle it as any other PHP code you would write.
Are there any Yii-specific features you would like?
at first i want to say thanks for your brilliant extension
i,m going to use design wordpress themes in VS using this Extension but i don't know how to set values in wp-config file
i mean the following part:
/** The name of the database for WordPress */
define('DB_NAME', 'database name');
/** MySQL database username */
define('DB_USER', 'user name');
/** MySQL database password */
/** MySQL hostname */
to connect to the mysql database
Thanks in Advance
You can run Wordpress from Visual Studio (Ctrl+F5), make sure your PHP Web Project has index.php setup as startup file. Then wordpress itself will guide you through the configuration and create wp-config.php file directly in its root. No need to copy it.
There is a video from youtube showing some basic stuff with Wordpress and PHP Tools, you can take a look here https://www.youtube.com/watch?v=otfHuSzxYnw
i've seen that video and i don't have any problem to manually make config file,on that video did't speak about config file and just showed how to import wordpress files to VS nothing more.
all i want to know is how to connect to my sql databases to make it happen. you've told me to let wordpress do make it for me "all wordpress is doing is filling some parts on wp-config file,nothing else"
i've tried every thing, it seems vs can not access to the mysql databases(i even tried to change the php path on Tools>options>php Tools) and it didn't worked either
If your MySql is installed and php is configured to use mysql extension, there really shouldn't be any issue when php is connecting to your database. Please do make sure the database exist (you have to create it manually in your mysql).
Then wordpress install will create necessary tables if it's able to connect to it.
VS actually doesn't connect to mysql at all, but you can install MySQL connector for Visual Studio (comes with MySQL installer) to help you manage your database. This is optional however.
There are detailed instruction how to install Wordpress https://codex.wordpress.org/Installing_WordPress
I am using the trial version of the PHP tools for the VS 2015 CTP. I am doing the following:
1. Create new PHP Web Project.
2. Pull in Laravel 4.2 using composer.
3. Open a new file and start typing Route::get().
4. Route is altered to route, the method is not being autocompleted and IntelliSense seems confused.
Am I doing something wrong here, or is this a limitation of the free version?