Maximize your Laravel blog's potential with SEO best practices and reach 10K monthly clicks on Google.
Preview the course for free
Benjamin Crozat New!
Benjamin Crozat The art of crafting web applications

Is PHP dead? Usage statistics and market share for 2022.

Benjamin Crozat — Updated on
Artboard

Hundreds of developers subscribed to my newsletter.
Join them and enjoy free content about the art of crafting websites!

Powered by

Table of contents

Is PHP dead? Usage statistics and market share for 2022.

PHP is dead. Or is it?

In 2022, PHP is the most used server-side scripting language with more than 77% market share overall, according to W3Techs.

Language Usage in October 2022
PHP 77.4%
ASP.NET 7.5%
Ruby 5.6%
Java 4.5%
Scala 2.7%
JavaScript 2.2%
Static files 1.8%
Python 1.4%
ColdFusion 0.3%
Perl 0.1%
Erlang 0.1%

Whenever you hear someone telling you “PHP is dead”, ignore them and look at the data.

PHP versions market share in 2022

The PHP version having the most market share in 2022 is PHP 7.

WordPress requires at least PHP 7.4 to be installed. Imagine how PHP 8 usage will skyrocket once WordPress increments its minimum requirements.

It’s also funny to see some ancient websites still up and running thanks to PHP 4. 😅

PHP Version Usage in October 2022
7 71.1%
5 23.0%
8 5.7%
4 0.2%

Popular websites using PHP

A language is viable if it can be ran at scale by big teams.

What’s better than a list of the most popular websites actually using at a huge scale?

CMS (Content Management System) market share in 2022

The CMS having the most market share in 2022 is WordPress.

Demand for content management systems (CMS) is exploding. Businesses always need to reach new customers through SEO, and a good CMS is mandatory for that. This trend will likely never fade.

CMS Market share in October 2022
WordPress 64.3%
Shopify 6.1%
Wix 3.4%
Squarespace 2.9%
Joomla 2.4%
Drupal 1.8%
Adobe Systems 1.6%
Google Systems 1.3%
Bitrix 1.1%
Webflow 0.9%
PrestaShop 0.8%
OpenCart 0.8%

WordPress marketshare in 2022

WordPress has more than 64% market share accross the web.

I’m not surprised that WordPress is so popular. It’s an always-evolving CMS, there are plenty of great WordPress hosts (such as Kinsta or WP Engine) and it has a lot of excellent themes and plugins to help you reach your goals.

Also, if you ever want to switch away from WordPress, most alternatives offer tools to import every post you already wrote. That means WordPress is a safe choice to begin with.

WordPress versions market share in 2022

The WordPress version having the most market share in 2022 is version 6.

Version 6 of WordPress is a significant update that includes a new default theme and a new block-based editor. This new editor is a major change to how WordPress works and allows for more flexibility and creativity when creating new content.

This alone probably drives people to update to the latest major version and, therefore, the latest PHP version.

WordPress Version Usage in October 2022
6 57.7%
5 35.4%
4 6.5%
3 0.4%
2 <0.1%

PHP frameworks market share in 2022

The PHP framework having the most market share in 2022 is Laravel, according to the numbers below. Laravel is by far the favorite on Packagist and GitHub.

Laravel VS other frameworks on Packagist

The most popular PHP framework on Packagist in 2022 is Laravel.

Package Downloads in October 2022
laravel/framework > 220,500,800
symfony/symfony > 31,000,000
cakephp/cakephp > 10,000,000
codeigniter/framework > 1,330,000
codeigniter4/framework > 950,000

Laravel VS other frameworks on GitHub

The most popular PHP framework on GitHub in 2022 is Laravel.

Repository Stars in October 2022
laravel/laravel > 71,300
symfony/symfony > 27,600
bcit-ci/CodeIgniter > 18,200
cakephp/cakephp > 8,600
Recommended

Here's a case study for my blog in the programming niche, where I share everything I did to increase clicks by a huge amount since the beginning.

Nailing a Laravel job interview can be a daunting task, but with the right preparation and mindset, you can set yourself up for success.

Laravel 10 has been released on February 14, 2023. Let's dive into every relevant new feature and change.

I show you how to upgrade your Laravel 8 project to version 9 and help you decide whether the return on investment is worth it.

I show you how to upgrade your Laravel 9 project to version 10 and help you decide whether the return on investment is worth it.

Learn why and how to fix "Methods with the same name as their class will not be constructors in a future version of PHP" warnings.

Learning a framework can be overwhelming, but time and execution will make you a master. Here are some best practices to help you toward your goal.

Laravel 11 will be released on February 6th, 2024. Its development is still ongoing. Let's dive into every relevant new feature we know about already.

Start leveraging the power of AI today. It enables developers to do incredible things, and many startups build products around it.

Knowing which Laravel version you are running is important before you start writing code on a new project. There are multiple ways to do so.

Powered by