r/PHPhelp • u/Even_Gold2158 • Nov 02 '25
php vs other
Hello
There is a topic I see in many places that say that PHP is no longer modern, go to node.js, python
I have no experience myself
I have no attachment to languages and frameworks
But I was asked what you would recommend for 2025 and beyond
My projects are personal and my goal is not the job market or recruitment, I just want my system to grow and my users not to be too fragmented
7
Upvotes
5
u/jeff_coleman Nov 02 '25
The PHP of today is NOT the PHP of yesteryear. Unfortunately, because of the past (not just the language but also bad programming practices that grew up around the early versions), it has a bit of a stigma. Paired with a framework like Laravel (if you're ok with heavy frameworks), it can be a dream to code in. That being said, I've really enjoyed Pyrhon + Django rest framework and will probably prefer that for future projects.
TLDR: modern PHP is fine. Go with what you enjoy and what you feel the most productive in and don't worry about it.
33
u/Obsidian-One Nov 02 '25 edited Nov 02 '25
PHP is quite modern. It has a bit of a sordid history, but in recent years, it's come along quite nicely in the modern world.
Based on what you said, though, I can tell you this: the vast majority of users do not care what your underlying technology is. That should not drive your decision. What should drive it are these things:
8
u/SecureWriting8589 Nov 02 '25
My recommendation is that you gain experience. In PHP. Or Node.js, or something else. What you choose at this stage really doesn't matter.
6
u/Any_Mobile_1385 Nov 02 '25
I made a LOT of money using PHP, enough to retire. I recently picked up Python and plan on learning Django and FastAPI. PHP is very capable, but I prefer to learn something new in my dotage.
2
u/isoAntti Nov 02 '25
You have no real hurry.
https://www.reddit.com/r/cpp/comments/1ojwais/octoverse_2025_github_survey_is_out/
PHP still one of the most used languages after 30 years, and I don't see it going anywhere in next few decades.
It doesn't really miss anything major, it's a quick tool for both web pages and cli, and with basic executable comes a pretty good set of libraries.
2
u/isoAntti Nov 02 '25
If you want to work with web pages with mySql php is good. If you instead look for AI, python might be the way to go. It's sort of related to the library you're going to use.
2
u/Aggressive_Ad_5454 Nov 02 '25
You’ll end up using many languages if you work in our trade. Php is fine for web apps. It is under active development and improves all the time. It has the advantage of many many budget web hosting services supporting it at reasonable cost.
Any software tech that’s been around long enough to become widely adopted has some legacy baggage. The curse of the customer base, we call it.
1
u/equilni Nov 02 '25
This is more of a r/programming question. On a PHP related sub, the answer is kinda obvious...
Pick the language that works best for your projects. Your users (talking end users) likely don't care what's driving the tech behind the system - just that it works and usable for them.
1
u/farzad_meow Nov 02 '25
simply put 50% of whatever we want to do cam be done in any language.
30% is slightly easier in a given language or framework.
20% would need special considerations so a language must be selected carefully.
that being said i suggest following: backend laravel frontend react
this way you can balance ease of development in backend for small to medium size projects while having a frontend that is going to be pretty with good ui/ux
1
u/Vroomped Nov 02 '25
go to node.js and python to do what? Compile referential hypertext files? I think not ... unless you want to rewrite your markup language again.
1
u/activematrix99 Nov 02 '25
If it is really going to grow, your users don't care. Pick a language that you feel suits your needs AND one which you know you can hire good people.
1
u/MartinMystikJonas Nov 02 '25
People tend to compare what they know about PHP from 10-15 years ago with what they know about "modern" languages and ignore how much PHP evolved in the mean time.
1
u/salorozco23 Nov 03 '25
PHP strong OOP better then node or python. With good OOP following SOLID, STUPID, DDD. Provably best for web development.
1
u/mabahongNilalang09 Nov 03 '25
Php is quite and old. But in recent years specially php 8.4 . Updates has lot of modern features. Php is also a very mature language and had a big community. Php is not that fast compared to other languages. But that is what you get when language is interpreted instead of being compiled.
1
u/nullBase-eu Nov 04 '25
You should really use what you feel comfortable with.
I've been using PHP since the very beginning and still use it today from time to time. However, over time you might pick up new languages and eventually end up with a handful of languages to use depending on the task at hand and each platforms strengths.
There is no such thing as a wrong language, just because some people prefer something else. Learning both PHP, node.js, python and TypeScript at the same time will not be a success. One language at a time, and you will experience how they all have similarities, making it easier and faster to pick up something new.
Have fun coding.
1
u/lapubell Nov 02 '25
If you know PHP then do PHP. If you heard it's not modern then you heard that from someone whois attached to languages/frameworks/etc.
I always recommend PHP, go, and Python. JS is fine but node is a weird ecosystem that moves extremely fast and things feel "legacy" in no time at all. If you want to learn js, then I'd recommend looking at bun, so you have a single runtime, cmd, test runner, etc all in one. Vite too, but they just got a huge funding agreement to try and fix the issue I'm talking about, and it's as modern as modern can be in js land.
2
u/[deleted] Nov 02 '25
[removed] — view removed comment