Is PHP dead or alive?

Opening up the box that inspired my career as a developer

Aphinya Dechalert
Oct 17 · 5 min read
Image by Aphinya Dechalert. The mysterious box of PHP

PHP is something that we don’t really hear about in mainstream media. Angular, React, Node.js and Python are all the rage nowadays. Even computer science degrees focus their efforts on Java and C languages.

Meanwhile, PHP seems to be sitting in the corner, watching as everyone else gets the spotlight.

I started properly coding when I was about 15 and PHP was my first encounter with the act of creating digital products. While it’s been a long journey since then, including forks that allowed be traverse through Java and JavaScript, PHP has always made sure to crop up in my career in some form or another.

So is PHP dead or alive? Or are we tunnel-visioned by all the chatter about JavaScript-related topics? It’s time we open the box and find out.


79% of the web

When anyone mentions PHP, it often conjures out an air of derision towards the programming language — yet it appears to be running 79% of the web, according to a report by W3Techs. Despite the bad rep it garnered back in the 90s and early 2000s for being insecure, PHP manages to cling onto the title of being the most used server-side language.

However, a majority of this success can be due to its affiliation with WordPress. The wildly popular CMS dates back to 2003, just as the internet and personal blogs started to push its way into mainstream popularity. It managed to beat out Google’s Blogger as the main non-technical market’s CMS of choice.

WordPress was designed for your regular Joe and it did everything in its power to be groundbreakingly easy as a creation of its time.

According to Matt Mullenweg’s talk during his visit to Auckland, New Zealand in 2014, he mentioned that Squarespace’s Superbowl ad gave WordPress a free advertising boost as people used WordPress as the platform for comparison.

With WordPress built in PHP, supported by almost every shared hosting provider and still holds 61.5% of the Internet under its wing, PHP as a language doesn’t seem to be going anywhere, any time soon.

Even if WordPress decides to completely rebuild itself in a different language, there is still a large number of legacy sites that will need to migrate out and into the new set up.


A Shifting Landscape

PHP’s tightly coupled relationship with WordPress has contributed to how the programming language is viewed by developers. It is often related to theme and plugin development for WordPress’ ecosystem, rather than anything else.

Job prospects outside of WordPress related activities are often tied to legacy custom made platforms that were originally built in PHP. It is not often a natural choice for startups or new business projects to put the language on the table as a potential candidate.

According to Darwin Recruitment, a UK based recruitment agency that published their recruitment demands data, the experience with PHP recruitment shows a consistent downward trend.

DarwinRecruitment.com

However, there is a competitive trend of increasing applications for PHP jobs. This inverse effect does not indicate that the competitiveness of PHP as a potential job has lessened over time.

darwinrecruitment.com

But this is one of many potential agencies, who may have a different trend. In contrast, worldwide interest in the search term ‘PHP’ over the past 5 years has been consistent with a slight downward trend, with China and the Philipines being the most popular countries doing the searches.

This interestingly coincides with how the search volume for ‘WordPress’ appears, with corresponding dips and peaks.

Google Trends, search volume results from the past 5 years. Blue = PHP. Red = WordPress.

How’s the theme market?

With PHP being tied up with WordPress, custom made or stock theme and plugin creation appear to be the main commercial avenues, especially if you’re looking to go freelance.

ThemeForest is currently the biggest commercial marketplace for WordPress related stock assets, with 114 authors currently making more than $1 million — a seemingly big but actually small number in a marketplace of 47k active WordPress themes on sale. There is no easy way to ascertain what the average number of items is per author, but it is unlikely that their combined output is more than 10%.

While it may be a good source of passive income, it may take a bit more work to run it as a business. However, anything that requires work often pays its own dividends.

In 2013, the hosting giant BlueHost acquired Mojo Themes and, rebranding it Mojo Marketplace, in an attempt to cash in on the WordPress theme market. However, it hasn’t seen as much success as Envato’s ThemeForest, with a majority of its top themes sales volume being less than a thousand times.


PHP isn’t quite dead, but neither is it fully alive — not in an independent manner like JavaScript is currently in the development ecosystem. The server side’s language relationship with WordPress is an intimate one and rests on the platform’s long term uptake by general users.

With PHP being an integral part of a content creation ecosystem, it is unlikely to disappear in a year or two, or any time soon. Hosting companies also play a role as they continue to support WordPress as the main CMS of choice, making it much more accessible to general users than other server-side languages like Java and C++.

Despite all the chatter about PHP dying, it’s not — not really, not as long as WordPress is alive and kicking, and WordPress appears to be doing alright. It is just unfortunate that a lot of legacy PHP code is tied up with old versions of WordPress that site owners haven’t quite gotten around to updated.

The thing with PHP is that it also has strong communities running non-WordPress related activities such as Laravel and Symphony — things that I haven’t really explored here specifically. PHP itself is also actively maintained, with the next release scheduled for November 2019.

So overall, PHP is doing just fine.


Thank you for reading.

Aphinya

Aphinya Dechalert

Written by

Preparing for another epic year. Open to opportunities. Connect with me linkedin.com/in/dechalert/ | dottedsquirrel.com | YouTube: bit.ly/2kBrdh0

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade