PhpStorm – Advantages of Editing Deployed Files Directly vs Downloading and Syncing

If I edit files directly on the deployed server, would any PhpStorm functionality be lost? Yes. To name a few: IDE cannot index files that are not in the project and therefore cannot provide any code completion help for classes/functions/etc that defined on remote only files; True project-wide search is not possible (as it works … Read more

PHPStorm – Run Filewatcher on existing files?

Select such file(s)/folder(s) in Project View panel “Help | Find Action” (Ctrl + Shift + A), activate check box for better results Search for “run file w” (without quotes, obviously) and choose Run File Watchers entry Alternatively: “Settings | Keymap” Find that Run File Watchers action (under “Plugins | File Watchers” branch) Assign some custom … Read more

Can IntelliJ IDEA encapsulate all of the functionality of WebStorm and PHPStorm through plugins? [closed]

All of the functionality of our lightweight IDEs can be found within IntelliJ IDEA (you need to install the corresponding plug-ins from the repository). It includes support for all technologies developed for our more specific products such as Web/PhpStorm, RubyMine and PyCharm. The specific feature missing from IntelliJ IDEA is simplified project creation (“Open Directory”) … Read more

Difference between WebStorm and PHPStorm

I couldn’t find any major points on JetBrains’ website and even Google didn’t help that much. You should train your search-fu twice as harder. FROM: http://www.jetbrains.com/phpstorm/ NOTE: PhpStorm includes all the functionality of WebStorm (HTML/CSS Editor, JavaScript Editor) and adds full-fledged support for PHP and Databases/SQL. Their forum also has quite few answers for such … Read more

XDebug and RESTful server using PHPStorm or POSTman

You can use one of these approaches: Configure your Xdebug (by editing php.ini) to attempt to debug every PHP script. The key option: Xdebug v2: xdebug.remote_autostart = 1 Xdebug v3: xdebug.start_with_request = yes Add Xdebug session start parameter to the actual URL (XDEBUG_SESSION_START={{KEY}} — https://xdebug.org/docs/step_debug#manual-init), for example: ?XDEBUG_SESSION_START=PHPSTORM Pass Xdebug cookie as part of the … Read more

Eloquent ORM Code Hinting in PhpStorm

For future Googlers, and perhaps OP as well if you are still sticking to Laravel. The laravel-ide-helper package solves this issue for you quite elegantly, with what I believe is a relatively new feature; generated model PHPDocs. You can generate a separate file for all PHPDocs with this command: php artisan ide-helper:models The generated metadata … Read more

PHPstorm 10.0.3 Error 502 Bad Gateway (Due to JavaVM?)

You are using PhpStorm’s own built-in web server, which has some issues right now (especially with POST requests, e.g. WEB-17317). The solution is to use your own proper web server (Apache/IIS/nginx/whatever). Define Deployment entry. In place type should be fine, as long as your Apache/IIS can serve files from that location; otherwise either configure web … Read more