ashokabrother's avatar

Some people say php and laravel is dead ! Is it true ?

There are many people rumouring for decades that php is dead, laravel is dying , is it true ?

0 likes
36 replies
jlrdw's avatar

No, php and laravel is still a popular backend framework. Don't believe everything you hear.

Some people say jquery is dead, but many still use jquery, used a lot in .net core and java server faces as well.

Node JS is very popular now. But I believe jquery will out live some of the other modern js frameworks.

If you are really concerned, learn some node js also then decide what you want.

6 likes
dpelto's avatar

I believe PHP is still the most used language for websites. But I haven't looked it up since last year.

4 likes
vincent15000's avatar

Why do you think that ?

According to me, it's false. So many societies are using Laravel to develop applications.

Laravel and Symfony are both used 50/50 in the world.

4 likes
jlrdw's avatar

@martinbean what's funny is the basic flow is php -> c -> assemply - > binary already. The cpu don't understand none of that MVC we use.

So OP could just jump to binary, cut out all the middle stuff.

4 likes
martinbean's avatar

@jlrdw Indeed. OP should find what processor their server is using, and write Assembly code targeting that CPU 😄

2 likes
Snapey's avatar

Just looking for an argument ? Bored?

4 likes
Snapey's avatar

Some people say : PHP and laravel are dying soon

Some people say that the earth is flat and that covid is just a government plot to control the population

6 likes
jlrdw's avatar

@Snapey I was wondering when you were going to chime in. I knew you would. I really liked the assembly language answer.

Edit:

Those flat Earth people really crack me up.

2 likes
ashokabrother's avatar

I love laravel and php, anyway I love javascript and PHP. I think learning too many languages is a waste of time, just focus on javascript and PHP.

1 like
jlrdw's avatar

@ashokabrother

just focus on javascript and PHP

Are you saying you have decided to just learn JS and PHP now and not laravel? There is free training on php here on this site. But I suggest after learning some php also learn laravel, it's a good flexible framework.

2 likes
martinbean's avatar

I think learning too many languages is a waste of time

@ashokabrother Once you have learned a language, you’ll find learning new languages much easier.

1 like
Vadim_K's avatar

Check vacancies to get realistic answer. Don`t forget to compare with other stacks. Don't be foolished with somebody's opinion.

2 likes
RuinSain's avatar

What i think the OP is looking for is a question of "if i have a new project, in what languages will the majority of team will choose". the answer is split into the needs of that projects, but as i can see the majority of web projects will chose Node.js

1 like
kiwatos's avatar

Unfortunately yes, but you are in a site where php and laravel are the main focus, so you'll find few to none people agreeing with you

In reality, Github stats are the main source to understand if a tecnology is declining or not. Line of committed code shows php popularity decreases year by year.

https:--madnight.github.io-githut-#-pull_requests-2023-2 (since it's my first day here, I'm not allowed to post links, so just replace - with / )

Newer projects are developed with nodejs nowadays

1 like
kokoshneta's avatar

@kiwatos That page shows that PHP is one of the most popular languages for the web. Most of the top languages are all application-oriented rather than web-oriented (Python, Java, C[++]).

JavaScript and TypeScript are still largely client-side scripts used in just about any web app (whether you use Node.js or not), so they will obviously be very high on the list. Even a default Laravel project has quite a high number of JavaScript files.

That leaves Go and PHP as the two most popular web-oriented languages on the list, and Go is much less web-oriented than PHP – my gut feeling would be that the majority of Go pulls are probably not web apps.

2 likes
kiwatos's avatar

@kokoshneta I'm not saying it's not popular, I'm saying that is declining over time. As things currently stand, Laravel (hence PHP) is being replaced by ExpressJs.

1 like
tisuchi's avatar

@ashokabrother

Some people say : PHP and laravel are dying soon. Is laravel dying ? what is the reality ?

I have been seeing this statement for PHP since 2009, the very first time I wrote my PHP code.

From my experience, surely it's not in the next 5 years at least. So if you want to invest your time on PHP, you should.

4 likes
theUnforgiven's avatar

Some people.....

End of the day whether it's dead or not, it's still thriving in all walks of life, this forum is active on a daily basis. Just use the right tools for the job, if you want to use PHP, use it, if you don't because of someone saying it's dead then don't, it's really that simple.

2 likes
vincej's avatar

Most people refuse to believe me when I tell them that Cobol is still one of the most used languages in the world. Why? Because banks, governments and airlines who developed systems with Cobol from the '60's through to the '90's still work and are too expensive to change to Java when they have other priorities. I have a friend who is an old Cobol developer and he is always working. Cobol may not be cool, but you will always have a job. Same with PHP and Java.

4 likes
jlrdw's avatar

@vincej also and just my opinion, I believe jquery will out live some of the new "Hip" javascript frameworks.

4 likes
jlrdw's avatar

You have changed the question, rather than wanting to delete, why not choose a best answer? On one question you had done this and then changed it.

Also users have put effort into answering.

2 likes
gfucci's avatar

Every year someone says that PHP is dead, but just look at the number of offers on job platforms to see that this is false.

2 likes
ashokabrother's avatar

@gfucci It means every year php dies and resurrects, means it's like Jesus , Php laravel and javascript. they are awesome and immortal.

2 likes
Snapey's avatar

Its been a while since the latest Spatie package was released, so maybe PHP is dead?

4 likes
jlrdw's avatar

@Snapey That makes me bewildered, at a loss, thrown off balance, and nonplussed not to mention flabbergasted. I suppose we all have to pursue another language now. I know python already, so perhaps that might work.

But:

There are many people rumouring for decades that php is dead, laravel is dying

Could those "many people" whoever they are be wrong?

2 likes
jeffallen's avatar

I seriously doubt that PHP and Laravel is dying. Could you share where you got that information?

1 like

Please or to participate in this conversation.