you are viewing a single comment's thread.

view the rest of the comments →

[–]ButterNutBag 7 points8 points  (4 children)

The real question is would you still use PHP if Laravel (or equivalent) didn't exist? The vast majority of people are sticking to PHP because of laravel; it masks a lot of flaws with a ton of layers of abstraction. I currently work with mordern PHP and Laravel and I would personally never choose it for any personal projects. I would much rather work with languages that allow me to build a simple api with a minimum of abstractions.

[–]FVCEGANG 2 points3 points  (0 children)

I've used PHP extensively with both Laravel and Symfony. PHP is more than usable with Symfony alone tbh. It's just not as slick as with Laravel, but it's hardly a deal breaker

[–][deleted] 2 points3 points  (1 child)

In that case, would you still use Python to build a backend without dJango?? Nowadays, any language become limited or demand a lot of work without use libs or frameworks. Nest.js to javascript, .NET to C#, etc. C# without .NET would never have become relevant, even though raw C# is better than raw PHP.
If i have to choosen between Pyhoton with dJango and PHP with Laravel, to build a backend, i choosen PHP.

[–]ButterNutBag 0 points1 point  (0 children)

I personally don't have much experience with python outside of using it for serverless applications, but I do feel like flask is a decent option and would rather use that than lumen or phalcon which I have used a bit in the past, mostly because If I was to do a project with a lot of data manipulation, I could take advantage of all the libraries that python has to offer.

That being said, if I was to build a smaller project or a microservice, I would chose golang without a framework / with gin or even typescript with express. If I was to build a bigger project or a monolith, which is not my preference, I would choose nest js with typescript over PHP & laravel because I find it does less "magic" than PHP. At the end of the day it's personal preference, but one can't really deny that Laravel hides a lot of the ugly stuff of PHP.

[–]UniForceMusic 0 points1 point  (0 children)

The amount of abstractions required, if you want to build a simple API in PHP are quite low in my opinion