From a85faaeab839d94d38074aabf38035b1d145de66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Sat, 7 Mar 2026 19:47:51 +0100 Subject: [PATCH] docs: update README for Windows, other minor changes (#2249) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Dunglas Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- README.md | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 4668b076..a2010a78 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ FrankenPHP is a modern application server for PHP built on top of the [Caddy](https://caddyserver.com/) web server. -FrankenPHP gives superpowers to your PHP apps thanks to its stunning features: [_Early Hints_](https://frankenphp.dev/docs/early-hints/), [worker mode](https://frankenphp.dev/docs/worker/), [real-time capabilities](https://frankenphp.dev/docs/mercure/), automatic HTTPS, HTTP/2, and HTTP/3 support... +FrankenPHP gives superpowers to your PHP apps thanks to its stunning features: [_Early Hints_](https://frankenphp.dev/docs/early-hints/), [worker mode](https://frankenphp.dev/docs/worker/), [real-time capabilities](https://frankenphp.dev/docs/mercure/), [hot reloading](https://frankenphp.dev/docs/hot-reload/), automatic HTTPS, HTTP/2, and HTTP/3 support... FrankenPHP works with any PHP app and makes your Laravel and Symfony projects faster than ever thanks to their official integrations with the worker mode. @@ -16,33 +16,39 @@ FrankenPHP can also be used as a standalone Go library to embed PHP in any app u ## Getting Started -On Windows, use [WSL](https://learn.microsoft.com/windows/wsl/) to run FrankenPHP. - ### Install Script -You can copy this line into your terminal to automatically +On Linux and macOS, copy this line into your terminal to automatically install an appropriate version for your platform: ```console curl https://frankenphp.dev/install.sh | sh ``` +On Windows, run this in PowerShell: + +```powershell +irm https://frankenphp.dev/install.ps1 | iex +``` + ### Standalone Binary -We provide static FrankenPHP binaries for development purposes on Linux and macOS -containing [PHP 8.4](https://www.php.net/releases/8.4/en.php) and most popular PHP extensions. +We provide FrankenPHP binaries for Linux, macOS and Windows +containing [PHP 8.5](https://www.php.net/releases/8.5/). + +Linux binaries are statically linked, so they can be used on any Linux distribution without installing any dependency. macOS binaries are also self-contained. +They contain most popular PHP extensions. +Windows archives contain the official PHP binary for Windows. [Download FrankenPHP](https://github.com/php/frankenphp/releases) -**Installing extensions:** Most common extensions are bundled. It's not possible to install more extensions. - ### rpm Packages Our maintainers offer rpm packages for all systems using `dnf`. To install, run: ```console sudo dnf install https://rpm.henderkes.com/static-php-1-0.noarch.rpm -sudo dnf module enable php-zts:static-8.4 # 8.2-8.5 available +sudo dnf module enable php-zts:static-8.5 # 8.2-8.5 available sudo dnf install frankenphp ```