Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vandan's avatar
Level 13

can php be replaced or less popularity of php ?

hello everyone my question is in future still use php(laravel, yii2..etc) or can replace by python or node js because in current situation node js, python demands are higher so in php still be future ?

0 likes
41 replies
aurelianspodarec's avatar

@Nakov Bit unfair though. He is special. He created entire ecosystem around Laravel, doubt anyone will be able to replicate this, unless its Laracast.

But you can build products with PHP as tech doesn't matter if it does the job.

eshap.k's avatar

Sure... but why would you? It seems like a waste of a very elegant framework! That's why people use laravel.

jlrdw's avatar

Symfony is php and it's going strong. Laravel uses Symfony components.

martinbean's avatar

PHP isn’t going anywhere any time soon, buddy.

3 likes
aurelianspodarec's avatar

@martinbean That's not a fair assesment of the market by google keywords - "how to get a job with PHP" or whatever, I bet that's not a job and that coutns as a search.

But when I go on Indeed, in the UK, and you type PHP Laravel there are 5pages. When I type React, there are 16pages+

So there are less jobs with Laravel.

Though WordPress wise, sure, the PHP number will go up, but then WP is on a decline for sure, to be replaced with things like Webflow/Versoly such page builders slowly.

martinbean's avatar

@aurelianspodarec And do you not think people will have written posts with titles like “how to get a job with Python" or “how to get a job with Node”…? Why do you think it’s only PHP results that have been inflated with such posts?

I didn’t present the screenshots as concrete, scientific, and irrefutable proof, but just as a guide that PHP really isn’t going anywhere any time soon.

aurelianspodarec's avatar

@martinbean I agree with you, but Id assume PHP has been a bigger center than JS or Python for the past decade, so there is probably more content for it - that's why PHP have so many more posts overall, possibly. But I would question what Google is showing in the first place as well.

Though job-wise, indeed and such, PHP has lower results than React alone.

Go on indeed, and type PHP jobs in Manchester, you get 9 pages. Go and type JavaScript - 808 pages.

Type in JavaScript and country United Kingdom, and we get: Page 1 of 13,773 jobs Type in the same, but replace JavaScript with PHP, and we get: Page 1 of 2,998 jobs

So clearly there are more JS jobs than there are PHP jobs in the UK by 4.5X.

How about we try United States

PHP: Page 1 of 15,133 jobs JavaScript: Page 1 of 127,438 jobs

That's a whooping 8.5X more JS jobs than PHP!

And look at Python: Page 1 of 195,679 jobs

I think people are biased here, PHP is still good but the job market is in Node and Python.

I'm also looking at jobs myself to get the feel for the market and makes me think I should go do React before I apply, get something up to date in that tech. Though I'll keep learning Laravel, as concepts structure etc... should transfer elsewhere I hope.

martinbean's avatar

@aurelianspodarec And how many of those PHP jobs will be “full stack” jobs that also include the word “JavaScript” in the description…? There are bound to be many that will read something like:

Must know: PHP, HTML, CSS, JavaScript, APIs…

aurelianspodarec's avatar

@martinbean I doubt that many. I'm looking at the job board the past few weeks and I don't see that often. If anything that means PHP shows up more, so there are probably even less PHP jobs.

tisuchi's avatar

@vandan I used 3 of your keywords in Indeed site as @martinbean did in google.

Look at the result. PHP has still a good amount of jobs. It won't down easily in a few couple of years I believe.

aurelianspodarec's avatar

@tisuchi Country matters.

USA:

  • PHP: Page 1 of 15,133 jobs
  • JavaScript: Page 1 of 127,438 jobs

That's a whooping 8.5X more JS jobs than PHP!

And look at Python: Page 1 of 195,679 jobs... doesn't even need explanation.

I feel like people here are biased because they just focus on PHP? The market is cleary in JS and Python.

Also, as a side note, I don't think you can compare NodeJS and PHP, that's like comparing PHP with React ish. You should have written JavaScript instead. Comparing language against language.

tisuchi's avatar

@aurelianspodarec Indeed.

If you count the # of jobs, then surely JS is the #1 position everywhere. Look at the stack overflow survey where the most preferable language is JS.

From the other perspective, it doesn't mean that PHP doesn't have prosperity. I have been hearing the question Is PHP Dead? since 2009, that is more than a decade. Surprisingly PHP is still growing!

So of course the decision is yours whatever want to drive in.

BTW @vandan I read a very good article a few weeks ago about PHP. If you guys are interested, feel free to give it a read. https://usefathom.com/blog/does-laravel-scale

aurelianspodarec's avatar

@tisuchi I never said it doesn't.

2009 and now its different, I never said it will die anytime soon, it won't. WordPress is losing market share, therefore PHP is losing market share when that happens, since WP is what kept PHP alive basically.

There are less jobs in PHP, therefore it makes sense to learn JS or Python if you want to get a job. I'm going to look for a job now and I don't see how I can get a PHP/Laravel job or similar, and not WP. I must be lucky, and I hope i will. Just because there ar just soo few PHP jobs. So its a horrible choice to pick for a job, but I personally like the ecosystem and its easier than Node when I tried that, so.

You have companies hiring PHP devs and telling them to learn Node instead after they got hired.

You said From the other perspective, it doesn't mean that PHP doesn't have prosperity. - the other perspective, there is only one perspective, and that is what the market wants.

It doesn't matter how great or what one likes about PHP, no one cares about that. Its what the market wants.

It was same with the Rust language a few years back at least, devs loving it, but there's no market for Rust, so none was getting job. So Rust was super popular, among devs, not companies/market. So it didn't matter how alive and great Rust was, the market just wasn't there. But there were hits and popularity growth, not in the actual market.

PHP is losing its market share in the job market, which means less and less devs will use it.

tisuchi's avatar

@aurelianspodarec (Sorry if I sound rude) I think you are unnecessary arguing here.

Here it's all about our opinion, demands in the market, and facts.

1 like
aurelianspodarec's avatar

@tisuchi I provided you facts, not opinions.

USA Market Demand:

  • PHP: Page 1 of 15,133 jobs
  • JavaScript: Page 1 of 127,438 jobs

"There's no more denying it: if you look at W3Techs CMS market share numbers, WordPress' market share is shrinking, losing 0.4% market share since February." ( https://joost.blog/wordpress-market-share-shrinking/) - Which means, PHP is automatically losing market share.

Tell me which is not a fact here?

I'm giving the other perspective here, not arguing. But saying what I wrote is not a fact, its as if you think I wrote these numbers randomly.

If you give an opinion, that there are more jobs in PHP than JS, then that opinion is wrong. If you say that 6ft is 190cm, as your opinion, its wrong -there are cleary more JS and Pythong jobs, and that's what the market prefers as the number shows. So opinion on this subject doesn't matter, its what the numbers says, that's the ultimate truth.

aurelianspodarec's avatar

I think most people here will be biased because they spend 24/7 in PHP, but generally speaking PHP isn't as hot language and had a lot of bad reputation from the past.

Amazon has a ban of using PHP for example, instead rewrite everything in Java if they do acquire a company that used PHP - doesn't mean PHP is bad, but people have BIASes at every company, I'm no expert but I'm sure there's no bad in living the apps in PHP because the management is anty-php.

But the future is in Node and Python. PHP is like a sun, its been here for 4.5billion years, it will stay for another 4.5billion years, and but slowly declining.

WordPress is declining.

But PHP is still going strong because of the ecosystem and makes sense to use it IMO.

There are cleary less PHP jobs, so the market demands more JS/Python.

USA:

PHP: Page 1 of 15,133 jobs JavaScript: Page 1 of 127,438 jobs That's a whooping 8.5X more JS jobs than PHP!

Same goes for the UK.

But I think a good thing is if you know one language, one back-end language, its probably easy to switch. I knew a PHP dev that got hired to do NodeJS without never doing NodeJS, and he is doing fine, because concepts and logic, and problem solving transfers, so I don't even think it matters.

I'm learning Laravel because I know it doesn't matter and Laravel has a good ecosystem so I'll keep at it, though I'm aware I will need to to some other tech to get a job most likely, for me, for a higher % of getting a job, as I'm sure you can get a PHP job if you're good and got reputation instantly but yeah, that goes for anything though.

But then I'm still a beginner so. Just my opinion.

shaungbhone's avatar

@aurelianspodarec Amazon has not banned PHP. PHP is banned at Amazon due to security reasons, but its successor, Hack, runs a lot of.. Just to be clear, Hack is not PHP's successor. Hack is a fork of PHP developed by Facebook. Hack will not overtake PHP any time soon. I was copy from this link

aurelianspodarec's avatar

@shaungbhone Amazon has not banned PHP. PHP is banned at Amazon due to security reasons, - so are you just trying to catch my words here? Obeviously that's what I mean.

aurelianspodarec's avatar

@shaungbhone I'm not sure I understand you.

What does white house has to do? The fact that some agency the GOV hired used WP? GOV isn't anything special. I did sites for gov just like that in WP. Nothing special.

I'm not sure I follow what you're trying to say.

1 like
tisuchi's avatar

Now I am wondering about this thread.

It seems we are arguing now but the person who actually initiated the thread is not actively participating here! But it shouldn't be!

2 likes
aurelianspodarec's avatar

@tisuchi He might be sleeping, working, he might not check laracast daily. Its not even been a day since he wrote the question.

aurelianspodarec's avatar

@iftekhs That's not arguing lol

Stating that " not actively participating" - after the person asked the question not even a day ago, is exaggerating.

aurelianspodarec's avatar

@MichalOravec I never said PHP will die, so not sure why you wrote that to me.

I cleary said PHP is not on the verge of dying. I just said the market share isn't there as it is with JS and Python, and the fact that PHP market share is dropping slowly. Doesn't mean its going to explode next year.

Snapey's avatar

you could look at it that javascript is so frustrating there is much higher churn of developers than php therefore there are a lot more job offers and people are having to pay more to attract and retain candidates for js jobs

2 likes
jlrdw's avatar

@aurelianspodarec Get the job (career) in what you want, if node js, then do that, if php then do that.

The question by @vandan

hello everyone my question is in future still use php(laravel, yii2..etc)

The answer, if you want to. Use learn, implement any language you want to.

At one time I actually was using Yii2 also, but I have stopped due to personal reasons. I still use laravel and cakephp.

Edit:

No reply really needed, just some observations.

Also @vandan I suggest working on learning full stack. Learn back end well and front end well.

2 likes
vivdroid's avatar

I read full thread. Answer was simple but guys dragging it for personal satisfaction. Yes PHP will always remain in ecosystem. Just keep on eye what is new in PHP

blueshift9's avatar

PHP, as a language, is in the best shape it has ever been, and if anything I think it is causing a resurgence in the language. Additionally, if you are choosing languages based on popularity and money, you are going to have a bad time. I like php. It pays my bills just fine, and then some. If you are good with php, if you ever had to jump ship to something else, you will pick it up quick. Learning a new language once you know one or more really well is rather easy.

1 like

Please or to participate in this conversation.