To be even more honest, I never thought that PHP was dying, but I often thought it should not be used for new projects.
Previous job was in a very PHP-oriented company and it was just a Java alternative, the only advantage being the edit and refresh page dev cycle, and being worse in every other way. Perhaps Laravel could have changed my mind, as most devs there hated Laravel because of the magic (some then proceeded to implement control flows with typed exception throwing so maybe not the greatest bunch to discuss such things)
https://wellfound.com/startups/tech/php
I believe a good developer chooses technologies based on use case and requirements, not emotions.
All technologies can coexist effectively.
Personally, I use PHP, Node.js, and other like Python for different scenarios, selecting the best fit for each project's needs.
Is usage growing?
How many new projects are being started with it relatively to other languages?
I certainly don't think it's dead but it probably peaked 10-15 years ago.
It is probably past its growth phase, nothing wrong with that. There is a very long list of languages that are arguably "better" that will never have a fraction of the success PHP enjoyed, will never see thr growth PHP saw, and will never be as widely used.
I don't even like PHP btw. But the HN crowd has some very warped view of how things actually are when it comes to programming languages and how popular/successful they are.
You now add an anecdotal evidence to underpin the "PHP is thriving". Which also is not a good argument.
That is not to say "haha php ded" - I'm merely and only making the point that in order to show that PHP is doing good, you need good arguments. Not a download stat, that on closer inspection, shows it's not really thriving, nor a story from your last job.
I also believe PHP still has its place. But haven't seen any solid evidence or arguments that this is the case and will remain the case.
PHP was always the most in-demand tech for backend development, and of course, this includes frameworks like Laravel and Symfony.
So yes, PHP is thriving.
It doesn’t mean that other languages are bad or something that’s ridiculous.
this is just to answer the "PHP is dead" folks
Every language has its place, and they all have their strengths in different contexts.