PHP's pillar projects in 2026, and whether PHP native can hold
The projects the whole PHP world stands on, from php-src and Composer to Guzzle, PHPUnit and WordPress, with install counts. Who is really leaving PHP, and what PHP native can do.
Short answer: PHP is not one project. It is a stack of shared pieces that almost everyone uses: the PHP engine, Composer and Packagist, a few dozen libraries installed more than a billion times each, the testing and analysis tools, then the frameworks, and on top the products people actually see (WordPress, Moodle, Drupal, Magento). The news of the last two weeks touches only the top of that stack. Appwrite is moving its server to Rust, and Laravel added Rust and Go versions next to Laravel PHP. WordPress has announced nothing of the kind. The pillars underneath are busier than ever. And “PHP native”, in any of its current forms, does not answer the reasons Appwrite and Laravel gave, at least not yet.
Who is actually leaving PHP?
Less than the headlines suggest. As of 3 December 2026:
| Project | What it announced | Leaving PHP? |
|---|---|---|
| Appwrite | Moving its server from PHP to Rust, one service at a time, starting with Users, Teams and Storage1 | Yes, gradually. Most of it still runs PHP today. |
| Laravel | Laravel Rust (1 Dec) and Laravel Go (2 Dec) as new frameworks. Laravel PHP keeps weekly releases2 | No. It added two languages. |
| WordPress | Dropped PHP 7.2 and 7.3 in WordPress 7.0 (May 2026); minimum is now 7.4, recommended 8.33 | No. It is working closer with PHP. |
The WordPress point is worth spelling out, because it is easy to get wrong. At WordCamp US 2026 the core team talked about working with PHP’s internals and PHP-FIG, moving HTML and URL parsing into PHP itself, and WebAssembly as a possible PHP extension.4 WordPress Playground, which runs WordPress in your browser, works by compiling the PHP interpreter to WebAssembly.5 The confusion probably comes from April 2026, when Cloudflare launched EmDash, a TypeScript CMS it called a “spiritual successor” to WordPress. That is Cloudflare’s product, not WordPress’s, and Matt Mullenweg publicly disagreed with the framing.6
We covered the two real moves in detail: Appwrite to Rust, Laravel Rust and Laravel Go.
What does the PHP world actually stand on?
Think of it in layers. Each one depends on the ones below it.
The engine and the people who pay for it
- PHP itself (php-src). PHP 8.6.0 shipped on 19 November 2026, alongside 8.5.13 and 8.4.28.7 We wrote about what 8.6 means for Moodle.
- The PHP Foundation. In its 2025 report, published in May 2026, it had 11 contracted developers at the start of 2026, and its developers wrote about 42% of all commits to php-src. It took in $645,191 after fees and spent $784,376.8 Its sponsor count fell, and its 2026 plans include a fundraising director and a cryptography working group. More in who pays for PHP.
- PIE, the new PHP Installer for Extensions. PHP voted in August 2025 to adopt it and deprecate PECL, which keeps working for now.9
- Xdebug, the debugger almost every PHP developer has used. It is maintained by Derick Rethans.10
The servers that keep PHP running between requests
Classic PHP starts fresh on every request. These projects keep the app loaded in memory, which is where most of PHP’s modern speed comes from:
- FrankenPHP, a PHP app server built on the Caddy web server. The PHP Foundation took it under its wing in May 2025 and it now lives in the official PHP GitHub organisation.11 Laravel’s own benchmark ran Laravel PHP on it.
- Swoole and OpenSwoole, asynchronous PHP with coroutines.
- RoadRunner, an app server written in Go that runs PHP workers.
- ReactPHP and AMPHP, the libraries for event-driven PHP. react/event-loop has 218 million installs; amphp/amp 163 million.12
Composer, Packagist and the shared interfaces
- Composer is how almost every PHP project installs code, and Packagist is its registry: 485,651 packages and more than 220 billion installs since 2012.13
- PHP-FIG writes the shared interfaces, the PSRs. There are 14 accepted, covering logging, containers, HTTP messages, caching and more.14 They are the reason a logger or an HTTP client from one project plugs into another.
The libraries everyone installs
Total installs from Packagist on 3 December 2026:12
| Package | What it does | Installs |
|---|---|---|
| symfony/polyfill-mbstring | Fills gaps in PHP’s string functions | 1.38 billion |
| psr/log | The shared logging interface | 1.38 billion |
| symfony/console | Command-line apps | 1.29 billion |
| psr/http-message | The shared HTTP message interface | 1.23 billion |
| psr/container | The shared dependency container interface | 1.21 billion |
| guzzlehttp/guzzle | HTTP client | 1.19 billion |
| monolog/monolog | Logging | 1.15 billion |
| nikic/php-parser | Reads PHP code as a tree | 1.10 billion |
| phpunit/phpunit | Testing | 1.08 billion |
| ramsey/uuid | Unique IDs | 868 million |
| nesbot/carbon | Dates and times | 814 million |
| league/flysystem | Files on disk, S3 and others | 792 million |
| doctrine/dbal | Database layer | 672 million |
| laravel/framework | The Laravel framework | 643 million |
| twig/twig | Templates | 523 million |
Notice who is on that list. Symfony appears more than any framework, because Laravel, Drupal and many others are built partly on Symfony components. Laravel itself is outside the top ten. The real pillars are small, boring libraries, often kept up by a handful of people.
The tools that check the code
- PHPUnit (1.08 billion installs) and Pest (117 million) for tests.
- PHPStan (456 million) and Psalm (93 million) for static analysis: they find type errors without running the code.
- Rector (184 million) rewrites old PHP into new PHP automatically.
- PHP_CodeSniffer (437 million), now run by the PHPCSStandards organisation, and PHP-CS-Fixer (293 million) for coding style.
- nikic/php-parser sits under most of these tools.
These matter more in the AI era, not less. When an agent writes the code, these tools are what tells you whether it is right. Laravel’s main argument for Rust is that “the compiler reviews every change”. In PHP, PHPStan at a strict level plus a real test suite does a large part of that job.
The frameworks
Laravel 13 (March 2026) and Symfony 8.2 lead. CakePHP 5.4, CodeIgniter 4.7, Yii3 (released at the end of 2025) and Slim 4.16 are all still shipping.15 Laminas, the old Zend Framework, has been quiet since late 2024.
The products people actually use
| Product | Scale |
|---|---|
| WordPress | 38.2% of all websites, 57.2% of sites with a known CMS16 |
| WooCommerce | 7 million+ active installs17 |
| Moodle | 147,289 registered sites in 235 countries, 519 million users18 |
| Joomla, Drupal, PrestaShop | 2.4%, 0.6% and 0.4% of all websites16 |
| Magento / Adobe Commerce, MediaWiki, Nextcloud, Matomo, phpMyAdmin | Still PHP, still releasing in 202615 |
Overall, PHP runs 67.8% of websites whose server-side language is known. JavaScript is next at 9.2%.19 These products are why PHP will be around for a long time whatever Laravel does. Nobody is rewriting the plugins that WordPress and Moodle sites depend on.
Where does Moodle sit in this stack?
On top of most of it. Moodle 5.3’s composer.json pulls in Guzzle, Monolog, PHPMailer, symfony/console, Slim, PHP-DI, Mustache, HTMLPurifier and eleven PSR interface packages. It even uses one small Laravel package, laravel/serializable-closure. Its tests run on PHPUnit and its coding style is checked with PHP_CodeSniffer through moodle-cs.
So when one of these libraries has a security hole or loses its maintainer, Moodle feels it. Moodle HQ maintains Moodle. Guzzle, Monolog and PHPMailer are maintained by somebody else, often for free.
What is “PHP native”, and can it fill the gap?
There is no single project called “PHP Native”. The name covers three different things, and none of them is a drop-in answer yet.
- NativePHP puts a Laravel app inside a desktop app (Electron) or a mobile app (Swift and Kotlin), with a PHP runtime bundled in. Desktop 2.5 shipped in November 2026, and the mobile version has been free and MIT licensed since February 2026.20 It is useful, but your code is still ordinary PHP running in the normal interpreter. It is about where PHP runs, not how fast.
- FrankenPHP static builds package a whole PHP app and the PHP runtime into one self-contained binary.21 That gives you the “one file to deploy” that Rust and Go offer, and the worker mode keeps the app loaded. The code is still interpreted.
- Compilers from PHP to machine code.
- TypePHP, from the Swoole team, translates PHP to C++. It reports 6 to 8 times faster than plain PHP in its own README tests, works on a defined subset of PHP, and still links parts of the PHP runtime.22
- KPHP, built and used by VK, compiles typed PHP to C++. It claims 3 to 10 times faster, but has no SPL classes or generators, and existing code usually needs rewriting.23
- elephc, written in Rust, compiles a PHP subset straight to assembly with no PHP engine left at runtime. It is at version 0.27 and covers 694 of 901 standard functions.24
PHP’s own JIT compiler, added in PHP 8.0, has given little to typical web apps, and the PHP Foundation’s discussions in 2025 said as much.25
Here is how they compare with the reasons Appwrite and Laravel actually gave:
| Reason given | NativePHP | FrankenPHP binary | TypePHP, KPHP, elephc |
|---|---|---|---|
| Speed | No | Partly, through worker mode | Yes, for the code they can compile |
| Lower memory and cost | No | Not shown | No published numbers |
| One binary to deploy | Only for desktop and mobile apps | Yes | KPHP and elephc yes; TypePHP still links PHP |
| A compiler that checks every change | No | No | Partly: they require typed code |
| Runs a real Laravel or Appwrite codebase | Yes | Yes | No, not without rewriting |
That last row decides it. The compilers that would close the speed gap cannot run the PHP people have written, and the tools that run that PHP do not close the gap. None of these projects has the backing of the PHP Foundation or a large company the way FrankenPHP does, and none has a benchmark someone else reproduced. Watch TypePHP and elephc. Do not plan around them in 2027.
The more realistic answer for PHP is the boring one: FrankenPHP or Swoole for speed, PHPStan and tests for the checking a compiler would do, and money for the people who keep the pillars standing.
What should a Moodle team take from this?
- PHP is not going anywhere for you. Moodle plugins run inside Moodle’s PHP, and Moodle itself depends on the pillars above. Your PHP skills keep their value.
- Know your dependencies. Run
composer showin your Moodle code, or read its composer.json. Every library listed there is code your site runs and somebody else maintains. - Give your plugins the checks that Rust gives Laravel. PHPUnit and Behat tests, PHPStan, and moodle-cs in CI. That is what makes AI-written code safe to ship, and it is what our plugin series runs on every plugin.
- Put the heavy work beside Moodle, not inside it. If something is too slow in PHP, a small Go or Rust service behind Moodle’s web services is cheaper than fighting the interpreter.
If you want an old plugin brought up to that standard, tests and all, tell us what it does.
Sources
-
Appwrite blog, Appwrite is moving from PHP to Rust, 22 November 2026. ↑
-
Taylor Otwell on X, A letter to the Laravel community, 1 December 2026. Laravel blog, Introducing Laravel Go, 2 December 2026. ↑
-
Make WordPress Core, Dropping support for PHP 7.2 and 7.3 and PHP support clarification, spring 2026. ↑
-
Make WordPress Core, WordCamp US 2026 PHP conversation, 3 September 2026. ↑
-
WordPress developer docs, How WordPress Playground runs PHP in WebAssembly. ↑
-
Cloudflare blog, EmDash; InfoQ, Cloudflare EmDash and WordPress, April 2026. ↑
-
The PHP Foundation, Impact and transparency report 2025, 27 May 2026. ↑
-
PHP RFC, Adopt PIE, deprecate PECL, accepted 20 August 2025. ↑
-
GitHub, xdebug/xdebug. ↑
-
The PHP Foundation, FrankenPHP is now officially supported, 15 May 2025. ↑
-
Packagist package statistics (packagist.org/packages/VENDOR/NAME/stats.json), read 3 December 2026. ↑ ↑
-
Packagist, Statistics, read 3 December 2026. ↑
-
Release data from endoflife.date and each project’s release pages, read 3 December 2026. ↑ ↑
-
W3Techs, Usage of content management systems, read 3 December 2026. ↑ ↑
-
WordPress.org, WooCommerce plugin. ↑
-
Moodle, Moodle statistics, read 3 December 2026. ↑
-
W3Techs, Usage of server-side programming languages, read 3 December 2026. ↑
-
NativePHP; Laravel News, NativePHP for Mobile is now free. ↑
-
FrankenPHP docs, Standalone binaries. ↑
-
GitHub, swoole/typephp; Laravel News, TypePHP: compile PHP to native binaries, August 2026. ↑
-
PHP RFC, JIT based on IR; PHP Foundation discourse, What’s the status of the JIT?. ↑
Need a Moodle plugin built or rescued?
Tell the scoping assistant what you need. You get a fixed price and a timeline in a few minutes, and an engineer reviews it within one business day.
Get a fixed quote