The path to the composer is specified on the File | Settings | Languages & Frameworks | PHP | Composer In the case of Unix systems, like this: / usr/bin/php Specifying the path to composer In the case of OpenServer, the path will look something like PATH_TO_OS\modules\php\…\php.exe I use Laragon because my way of looking PATH_TO_LARAGON\bin\php…\php.exe, Local Path to Interpreter – to specify the local version (as in my case)Īnd in PHP executable you need to register the path to PHP. If you have not added interpreters before, then nothing will be available to you, therefore, now you need to add it by clicking, to the right of the interpreter selection, the search button (2)Īfter clicking on the (2) button, a menu will appear:īy clicking on (1) button, you will be offered a choice of 2 options:įrom Docker, Vagrant, VM, Remote- in case you want to specify a remote interpreter (Docker, Vagrant) And if the syntax of the selected version does not match, an error will be highlighted right in the IDE.ĬLI interpreter is the path to a PHP interpreter. PHP Language Level – this is the PHP version by which the IDE will check the syntax of your written code. In the window that opens, 2 editable graphs will be available: ![]() PHP version and interpreter settings are located on the File | Settings | Languages & Frameworks | PHP In every new project that I start in PHPStorm, the initial steps are the same: choosing a PHP interpreter, specifying the path to the composer, NodeJs and JavaScriptĬhoosing PHP version and setting the path to the interpreter Specifying the path to the PHP interpreter, and selecting the current PHP version. ![]() Connecting the necessary libraries, the last configuration steps.Not a bad fee to get the core of what I appreciated about PHPStorm. However, Intelephense itself offers top-notch refactoring tools but for this like reliable symbol replacement and implementation discovery you need to shell out. Here it's worth mentioning that the built in PHP support in VSCode is second-class to Intelephense. I still prefer GitKraken for third-party integrations but barring those, I stick with Git Lens. You have options to automatically break on various error levels, quick breakpoint navigation, quick expression evaluation & watch and exploring all in-scope variables.Ī few classes beyond what PHPStorm can do, the Git Lens plugin rivals most dedicated Git tools. The UI might be as nice, but it doesn't get in the way. The XDebug plugin is awesome, somewhat better than PHPStorm IMHO. My other favourite tool, Meld, isn't cross-platform so you may need to look for something appropriate There are plugins but nothing really nice in the way of PHPStorm. Awesome enough to make me get over my Microsoft repulsion. Out of the box support for things like Python, JS/JSX/TypeScript is awesome for something free. Yes, it's Microsoft, but as far as tools go, it's right there at the top. Need Python / Go or Kubernetes integration? Look elsewhere. You get some assistance on JS stuff, basic things like working with Dockerfiles but nothing beyond that. Formatting to standards, finding implementations of abstract functions / interfaces / etc, symbol replacement in project - all work flawlessly I always loved the way PHPStorm keeps up to date with language features. It's there and you can do basic stuff in a basic UI. Otherwise the UI is pretty nice to on the fly evaluating and watching expressions, breakpoint control, etc - stuff you normally want from such a tool. One thing I miss through was to easily control whether to automatically stop on exceptions. When you're done, everything gets staged so that you can get on with the commit/merge/rebase It's a clean 3-way merge + diff tool that makes it crystal clear where each change comes from and you can manually edit the outcome. That's the feature I appreciate most about it. Yes, it's a commercial product but if your outfit pays for it, it comes with great tooling. Give me 3 screens and a VIM configuration sprint and I'm there! I'm old, I like stuff that just works (as much as possible) without getting sucked into customization and configuration. Collecting PHP dependencies, particularly for 7, working with newer language features, doing stuff like finding interface implementations and so on aren't quite on par with others. I like SublimeText 3, but found it unreliable. Also, most plugins I worked with were buggy in mind blowing ways. ![]() It's nice for JS for the most part, but throw anything heavy at it and it slows to a crawl. Containers, GIT vizualization, diffs, some UI help and reliably working with other languages are definite pluses. I'm a PHP dev but I appreciate and IDE that can help with other stuff reliably. Yes, I know how the title sounds and it's probably going to get some people riled up over other IDEs but there are some things worth mentioning:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |