News for hackers. Stuff that matters.
Re:My PHP Development Setup by ehnto on Thursday January 17, 2019 @06:16AM (#18929928)
I swear by PHPStorm, it has everything I need in one spot, and a built in terminal window for everything else. Saves so much cognitive load on context switching. Instead of flicking through four different windows and losing my train of thought constantly, it's just the browser on one screen and an all in one tool in the other.

PHPStorm's XDebug integration is second to none, it has full MySQL integration, and it's autocomplete and click-through intelligence is incredibly smart.

I have tried atom, but I miss too many of PHPStorm's features. There is so much it can do, and so much intelligent functionality, but it all stays out of the way until you call upon it.

Re:My PHP Development Setup by furicane on Thursday January 17, 2019 @06:26AM (#18929966)
I second this.

Without going into what I've tried and yadda yadda yadda, white noise, my credentials and so on - PHPStorm id the IDE. No Atom / VSCode or whatever can't compare. You get ctrl+click go to definition, you get ssh terminal, you get XDebug integration, it plays with Vue/ES6/React, you get MySQL integration, Vagrant integration, extensions to get VIM bindings and so on. Next to proper keyboard, monitor and mouse - buying PHPStorm is hands down one best money spent when it comes to what I work with every day.

I'm NOT saying "you can't get X with Y editor which is free" - sure, I believe you can, but this thing completely satisfies my every requirement and I don't have to spend time looking for integration extension or whatever. It saved me a ton of time so far, it will do so in future - I approve it, however I don't think anyone's editor "sucks and you should go with PHPStorm". Everyone should go for what they think brings them the best experience / value.

Re:My PHP Development Setup by busterarm on Thursday January 17, 2019 @06:30AM (#18929987)
Third it.

I'm not even an IDE -- I'm a strict Vim user, but when I had to work in PHP I found the experience to be very nice. Especially integrating with the debugger.

JetBrains' stuff is top notch and I will buy their IDE for any language I work in, even if I don't use it very often.

Re:My PHP Development Setup by larzang on Thursday January 17, 2019 @07:55AM (#18930400)
Yeah, PHPStorm is a mediocre to terrible text editor but an amazing IDE. I used Sublime Text for many years prior and PHPStorm can't even come close in terms of ease of keyboard navigation, responsiveness, multi-file organization, etc BUT after 3 years of PHPStorm I won't use anything else.
Re:My PHP Development Setup by piotrkubisa on Thursday January 17, 2019 @11:45AM (#18932250)
> a built-in terminal window

I remember that time when I couldn't get it why there isn't built-in terminal in the SublimeText and then I found windows managers like `sway` or `awesome` and I started do not care about it.

> PHPStorm's XDebug integration is second to none, it has full MySQL integration, and it's autocomplete and click-through intelligence is incredibly smart.

Support for XDebug exists in all modern editors - Atom, Sublime, NetBeans, etc. etc. If you "waste" some time on customizing your editor auto-completion feature you might will get a really decent one (in aforementioned editors).

I must say PHPStorm had a superior look-for-file (think: Ctrl+P) feature which really gets annoying in other editors if you get used to it.

About the MySQL integration: I was really positively surprised having it in the IDE but I've stopped using it as soon as my colleague told me about the HeidiSQL [0]. For person who was using SQL Management Studio at university, HeidiSQL offered the same feel - fast, lean and simple to use but also it is free and installation in Linux (wine) or macOS does not take much time. It is probably the best application written in Pascal that I know about.

[0]: https://www.heidisql.com/

Re:My PHP Development Setup by ehnto on Thursday January 17, 2019 @11:06PM (#18936953)
> Support for XDebug exists in all modern editors - Atom, Sublime, NetBeans, etc. etc.

It does, but PHPStorm's is particularly competent. From rewinding the stack, having an in-context command line prompt to run code in, conditional debug points, current context auto-complete for the command line, it can even read cachegrind outputs. It's the level of competence they implement in all their features that take it from a "text editor preference" to a professional level tool.

> I must say PHPStorm had a superior look-for-file (think: Ctrl+P) feature

You can also "look everywhere" which looks at literally everything from the same text-box, so if I type "show line numbers" it searches through the settings panes and finds the "show line numbers" setting, and because it's a toggle, I can just hit enter on the search result and it toggles the setting. Also class definitions (PHP, Javscript and CSS definitions) are all fuzzy searchable. "SoClNa" will find the SomeClassName definition and also the "Some/Class/Name" folder and so on.

I know I'm gushing about it but I really could talk for ages about all the little things it does.