Eloquent: More Trouble than it's Worth?
To start - I'd like to clarify that I don't think all ORMs are evil. I've used a bunch across several different frameworks in different languages over the years, and while you'll eventually find yourself in some sort of situation where dropping down to straight SQL/PDO is far more efficient or pract...
Migrating a vanilla PHP app to full blown Laravel is basically a complete re-write.
Instead, it'd be better to refactor what's there into something more familiar in code organization over time. Like introducing a router package so you can start to lift relevant code up into the middleware layers and handle user input via Request objects. You don't even have to do all the routes all at once - the router's wildcard handler could defer to the original code's logic if a route hasn't been implemented in the router yet.
Chipping away at it over time and iterating over re-building is usually the best approach.
If you have to ask, REST.
GraphQL is not a trivial choice and requires full buy in from all members of the team.
The tech behind Digg was solid. Bad management decisions shouldn't reflect poorly on the developers.
One thing to consider is that JavaScript on the server and JavaScript in the browser are still different enough that there's context-switching.
The Node standard library is vastly different to what's available in the browser. Also the language specifications often diverge. For example,
asyncandawaitkeywords were first available in major browsers back in 2016, but Node didn't get them until Node 7.6 which shipped in late 2017.While a lot of JS is portable between BE and FE, it's not quite as simple as "it's all the same language".
Also going "full stack" doesn't require you to abandon PHP/Laravel. If you're already comfortable in PHP, that means you have to put less mental energy into learning PHP/Laravel and you can direct that energy into getting more comfortable with JS/Vue.
Sublime Text 2 is a text editor. PHPStorm is an IDE.
While at a basic level, both edit code, the areas PHPStorm goes beyond is in things like:
Sublime Text is awesome and my text editor of choice, but I tend to use PHPStorm when I'm working on a larger, custom application where the productivity gains with PHPStorms integrated tools make a big difference.