php

PHP Is Dead. Long Live PHP.

PHP powers 75% of all websites with server-side programming. It has 448,000 packages on Packagist, its own foundation backed by sponsors like JetBrains and Laravel, and with NativePHP you can now even build desktop and mobile apps in PHP. Yet the claim that PHP is dead persists. Here are the facts.

Chris
Managing Director, Senior PHP Developer
Updated:
PHP is not dead - Modern PHP development illustration.

PHP powers 75% of all websites with server-side programming. The "PHP is dead" prophecy has been around since 2004 — and every time, PHP just kept going. Not because the language is perfect, but because it works, keeps evolving, and has the largest web development ecosystem in the world.

For years we have been hearing the same claim: "PHP is outdated and slow. Use this new language instead." In 2004, Java Servlets were supposed to replace PHP. In 2007, it was Ruby on Rails. In 2011, Node.js. In 2015, Go. In 2020, Rust. Every time, the verdict was the same: PHP is finished. And every time, PHP just kept going — quietly, reliably, and on three quarters of the internet.

This article is a reality check for decision-makers wondering whether PHP is still the right technology choice in 2026. Spoiler: yes. And for good reasons.

How relevant is PHP in 2026, really?

The numbers speak for themselves. According to W3Techs (as of April 2026), PHP runs on roughly 75% of all websites with identifiable server technology. Not 7%. Not 17%. Three quarters of the web.

On top of that, over 43% of all websites run WordPress — which is also PHP. Platforms like Shopware, Magento, and Statamic are built on PHP. And Laravel, with over 512 million Packagist downloads, is one of the most widely used frameworks of all time.

On Packagist, the central package repository for PHP, over 448,000 packages are registered — with a total of 176 billion installations since 2012. For context: in 2012, people were still downloading PHP dependencies as ZIP files and uploading them via FTP. Composer professionalized the ecosystem and created a package culture that stands shoulder to shoulder with npm.

Is PHP still the PHP of 2005?

No. If you judge PHP today based on PHP 4 or 5, you have missed 15 years of progress. The language has fundamentally changed:

  • PHP 7 (2015) — Performance doubled compared to PHP 5.6. Scalar type hints and return types introduced.

  • PHP 8.0 (2020) — JIT compiler, Named Arguments, Match Expressions, Union Types, Attributes.

  • PHP 8.1–8.3 — Enums, Fibers (for asynchronous programming), Readonly Properties, Intersection Types, Typed Class Constants.

  • PHP 8.4 (November 2024)Property Hooks and Asymmetric Visibility. Properties can now define getter/setter logic directly, and read/write visibility can be controlled independently. This dramatically reduces boilerplate code and brings PHP to a level comparable to languages like Kotlin or C#.

  • PHP 8.5 (November 2025)Pipe Operator, Clone With, and more. The pipe operator (|>) enables functional-style chaining without intermediate variables. Clone With simplifies cloning and modifying readonly objects. Additional highlights include the #[\NoDiscard] attribute to warn on ignored return values, persistent cURL share handles for better performance, and the new array_first() and array_last() convenience functions.

Comparing today's PHP to the version 5 era of 2010 is like comparing a 2003 sedan to its 2026 model. Same category on paper — but everything else has changed.

Who is behind PHP — and who is funding its development?

The PHP Foundation — backed by some of the biggest names in the industry.

The PHP Foundation was established to ensure the long-term development of PHP. It employs 10 core developers who work on the language itself — funded by sponsors including JetBrains, Automattic (WordPress), Laravel, Symfony, GoDaddy, Craft CMS, and many others. In 2024, the Foundation received $683,550 in donations and is planning a budget of up to $900,000 for 2025.

This is an important point for decision-makers: PHP is not a hobby language that depends on a single maintainer. It is a professionally funded open-source project with its own foundation, a board of directors, and a growing budget. The language will not die because one person loses interest.

Can PHP do more than just websites?

Yes — and this is perhaps the most surprising development of recent years.

With NativePHP, you can use Laravel to build desktop applications for Windows, macOS, and Linux — as well as mobile apps for iOS and Android. NativePHP bundles PHP with a native shell (Electron for desktop, Swift/Kotlin for mobile) and produces installable apps that run entirely on the user's device. No server required.

That means routes, controllers, Eloquent models, Blade templates, Artisan commands — everything you know from Laravel works on the desktop and on smartphones. NativePHP for Mobile v3 has been free and open source (MIT license) since February 2026 and uses a plugin architecture: you only install the native features you need (camera, file access, sharing, etc.).

For a language that has been declared dead for 20 years, that is a remarkable step. PHP no longer runs only on web servers — it runs everywhere.

How mature is the ecosystem and its tooling?

PHP's ecosystem has never been more mature.

The PSR standards (PHP Standard Recommendations) enable cross-framework interoperability: PSR-4 (Autoloading), PSR-7 (HTTP Messages), PSR-11 (Container). This means packages are reusable across Laravel, Symfony, and other frameworks. That was not the case in 2010.

Anyone who claims PHP has no type system has not heard of PHPStan and Psalm. Static analysis on par with TypeScript — for PHP. These tools catch type errors, null pointer issues, and logical bugs before the code even runs. Combined with native type hints since PHP 8, the claim that "PHP has no types" is simply wrong.

FilamentPHP Features.

Add to that FilamentPHP as an admin panel framework, Statamic as a CMS, Shopware as an e-commerce platform, and Laravel as a full-stack framework with a built-in ecosystem for authentication, payments, queues, WebSockets, and deployment. No other language stack offers a comparable breadth of tightly integrated tools for web applications.

Statamic v6 Control Panel.

Does PHP have weaknesses?

Yes — and anyone defending PHP should be honest about them.

  • Inconsistent standard library. strpos($haystack, $needle) vs. array_search($needle, $haystack). The parameter order in PHP's built-in functions is a product of history and partly arbitrary. You get used to it, but it remains a design flaw.

  • Unicode handling. String functions operate on bytes by default. For correct Unicode processing, you need the mb_* functions. In a world of emojis and international character sets, that is no longer ideal.

  • Legacy code reputation. PHP's reputation suffers from millions of poorly written WordPress plugins and PHP 4 spaghetti code still running in production. That is a community problem, not a language problem — but it shapes perception.

These weaknesses are real. But they are well known, well documented, and barely noticeable in day-to-day work with frameworks like Laravel. The framework's abstraction layer shields you from most of the language's inconsistencies.

Is PHP fast enough?

For 95% of all web applications: yes. Modern PHP with OPcache performs on par with Python and Ruby. The bottleneck in web applications is almost always the database or an external API call — not the language.

And when standard performance is not enough, there is Laravel Octane: with FrankenPHP or Swoole, the application boots once and stays in memory. Real-world reports show 5-10x higher throughput compared to the classic PHP-FPM setup. And with Laravel Vapor, your application runs serverless on AWS Lambda — auto-scaling with no infrastructure management.

The honest assessment: if your project needs to handle millions of concurrent connections — a real-time trading system or an IoT gateway — Java or Go is the better foundation. For web applications, customer portals, SaaS products, and APIs, PHP with Laravel is more than fast enough.

Who uses PHP in practice?

Not just small agencies — companies you would not typically associate with PHP.

Shopify — one of the largest e-commerce platforms in the world — recommends Laravel as the framework for building Shopify apps:

Shopify API uses Laravel for its PHP Stack.

Companies like the BBC, Pfizer, and Liberty Mutual use Laravel for internal tools and customer-facing applications. And Shopware, one of the leading e-commerce platforms in Europe, is built entirely on PHP and Symfony.

Screenshot of area17.com about using Laravel based CMS Twill for OpenAI.

The argument that "PHP is not enterprise-ready" is thoroughly debunked in our Spring Boot vs. Laravel comparison. Enterprise readiness is a matter of architecture and team — not programming language.

So is PHP the right choice for your next project?

If you want to build a web application, a customer portal, a SaaS product, or a CMS: yes.

In 2026, PHP has everything a modern programming language needs: a strong type system, asynchronous programming with Fibers, a professionally funded foundation, 448,000 packages, and a framework ecosystem that is second to none. With NativePHP, PHP can even power desktop and mobile applications. And with Laravel, you get a framework that gives you authentication, queues, APIs, WebSockets, and an admin panel from day one — without weeks of setup.

PHP is not dead. PHP was never dead. PHP just keeps going — as it has for the last 30 years.

Long live PHP.

Planning a web project and unsure about the technology choice? Talk to us — we will give you honest advice on which technology is the right fit for your project.