DEV Community

Discussion on: Migrating API from Laravel to NestJS

Collapse
 
adilismail621 profile image
Adil ismail

Unfortunately Laravel is cursed by its language of choice (PHP)"
Why do u say this ?

Collapse
 
hzburki profile image
Haseeb Burki

It's mainly because of PHP's reputation in the dev community. As a developer who is constantly looking for talented and hard working developers, I find it difficult to find people who are interested in working on PHP. Developers nowadays want to move towards the JavaScript ecosystem such as Node and React etc.

Collapse
 
qodeboy profile image
Pavel Sheiman

It's not just reputation. It's a fact. Once you're in the event-loop you can't get back to PHP's forking. It's like going from dedicated lane back to dial-up internet.

I'm 10+ years in PHP development, and 1+ year in pure JS/TS development and I can feel the difference on my own skin.

Swoole and RoadRunners try to solve this, but this is not going to work with mid-to-large sized projects, as compatibility is really poor and there is a lot of issues.

PHP have to rethink legacy compatibility and make a big jump into new age to keep up with JS ecosystem progress. Or it's dead eventually.