Hacker News new | ask | show | jobs
by MattGaiser 42 days ago
Are there many serious companies using PHP?

It overwhelmingly seems like the language of the cheap and not very technical or providers of services to the cheap and not very technical.

16 comments

It's used on Pornhub so it's both very useful and very important but excuse me princess if it's not on the next Mars lander robot.
Naughty America uses it too. We met some guys from there in a hot tub at the hotel we were staying at for a PHP conference.
I know AI gets the headlines but PHP is what's putting food on tables in this industry.
The entire internet from that era is still built on it.

I worked at a major CDN with roots in the dot com era. PHP errywhere. You wanna log on and see your bill you're invoking like 40 different (modern containerized) lamp stacks.

and Facebook
It's mainly used by profitable and/or public sector orgs, so unlikely to have much intersection with the HN crowd.
Unfortunately those sound like organizations that wouldn't see much value in the goodwill generated by funding PHP.
It is used all over the place in ways you don't even realize. "not very technical or providers of services to the cheap and not very technical" is a particular corner of the market that is visible and full of PHP, sure, but you don't see the huge masses of PHP code running that doesn't expose a .php on the end of the URL.
I understand why people still have this perception, I imagine due to relics of the past of the PHP 5 (or earlier) era. But those days are long gone, and I believe PHP 8 has some a nice job of adding modern features and improving developer experience.

Wordpress is the obvious answer to your question, but its codebase is admittedly still stuck in the past in many ways. Nobody would write it that way if they were starting from scratch today.

There are plenty of “serious” companies using Laravel or Symfony. Take a look around those codebases if you want to get an idea of what solid modern PHP design patterns look like nowadays. Nothing “cheap or not very technical” about them :)

Know who uses PHP? Companies that actually make money.
Wordpress and Nextcloud are two very prominent pieces of software that come to mind that are built on PHP. I'm sure there is more out there.
I suppose my question would be: what would be the reason to choose PHP in 2026 for a greenfield project over the plethora of other available languages?
Laravel is one of the most comprehensive and best developer experiences around. Give it a spin of you haven’t tried it.
I wanted to give Laravel a spin to have PHP+Laravel under my belt for future. `laravel new` couldn't even initialize a project fully, which might be the first time I've seen a framework-specific setup tool fail this fast
I asked a genuine question. Does Laravel deliver a superior developer experience than let's say Rails or Djano?

Like if I were to sell PHP in 2026 to a new team, how would I position it?

It does. Just look at quality of the documentation for starters.

Laravel is really excellent. PHP’s package manager, Composer, is great, and Laravel makes excellent use of it. The two main front end tools, Livewire and Inertia, are fun, with good starter kits. It has an elegant built in AI SDK, an official LLM developer integration, good payments support. There’s a new typescript binding. It has, IMO, one of the few truly well-designed ORM implementations.

There’s an incredible community around it. Lighthouse, the schema-first GraphQL package, is one of the neatest I have seen.

And PHP 8.x is a much more capable language than people expect. LLMs speak it well and are typically very up to date with its capabilities.

ETA: I think one of the things that sets it apart from other environments is the sense that it has a mature clarity of purpose, to be honest. In this AI-slop-documentation era, have a look at the documentation, the clarity of it, the ease of onboarding. Laravel as a project tends to execute well on ideas, has sensible defaults etc.; it just feels grown-up. It moves a little slower than other frameworks in terms of innovation, but sweats the details. It also has a well-managed upgrade process.

Unfortunately, I think PHP, and ultimately Ruby, Python, Perl, and Node.js, will all eventually be proven to be inappropriate for web development. It feels to me like we are heading away from a world where every application sits on top of an interpreter and a huge attack surface.

For myself, I really like Laravel; I have deployed apps in it that did good things for people and it was never once in my way. It has been fun, simple, even quite poetic to use. But I think I am done with these sorts of programming environments, and I am going to force myself back to things with a smaller footprint.

I certainly think that one aspect of PHP has to change, and that is the tendency to deploy with distro packages. That is clearly an inappropriate burden in the LLM-assisted hacking era.

Substitute "php" for "COBOL" and you may understand why that question is a pointless one.

Because we all know why COBOL is still used and why those old institutions are still important for functionality. PHP isn't on that level, but isn't far from it. many/most 20-30+ YO legacy codebases in web likely have PHP in some important part of its stack.

Even if not that doesn't matter. There is a lot of software out there that is very actively developed and based on PHP. So it's very odd that they are so underfunded but on the other hand it's probably a marketing problem. I didn't know about that since this post.
Some Amazon sites, they said. Lots of random companies and institutions: a Danish IT company, a Dutch cybersecurity company, Orange telecoms (in France). Various governments' sites for various services. Some BBC TV show pages, a gym group, a Japanese airline, Asahi (the brewers), Finland's state IT provider.
Facebook (although they forked it)

Wikipedia

Wordpress

Isn't there some large php based software run by a bruised ego who can't even get his own house in order, let alone help fund his largesse, but complains about his leeches.

Hrmmm.

Netgate (behind pfSense) use PHP for their firewall administration interface.

They recently posted about how to patch their software from the command-line (https://www.netgate.com/blog/critical-php-security-update)

Is Facebook still using it?

Also, not a company but Wikimedia Foundation definitely has some funds too.

I think Facebook switched to their own language Hack a decade ago.
Didn’t they roll their own version of it?
> Are there many serious companies using PHP?

There were a lot of sites affected by the later exploits, so I will say, yes.

Slack's backend is PHP I believe.
GOG was down during the mad scramble this week, so there's that
Oh sweet child…
How old are you?