Skip to content

Kévin Dunglas

Founder of Les-Tilleuls.coop (worker-owned cooperative). Creator of API Platform, FrankenPHP, Mercure.rocks, Vulcain.rocks and of some Symfony components.

Menu
  • Talks
  • Resume
  • Sponsor me
  • Contact
Menu
FrankenPHP 1.0 beta

The PHP Revolution Is Underway: FrankenPHP 1.0 Beta

Posted on September 21, 2023September 21, 2023 by Kévin Dunglas

I’m very proud to announce the immediate availability of FrankenPHP 1.0 beta.

FrankenPHP is a brand-new application server for PHP, written in Go and built on top of Caddy, that dramatically simplifies the deployment of PHP apps, and brings new features to PHP such as:

  • a worker mode that improves typical application performance by a factor of 3
  • native support for HTTP/3
  • native support for the 103 Early Hints HTTP status code (assets preloading)
  • automatic HTTPS certificate generation and renewal
  • native support for the Mercure protocol (real-time data broadcasting)
  • and much more!

FrankenPHP is available as a Docker image (Debian, Alpine, PHP 8.2, and PHP 8.3 variants are available) and as standalone binaries with 0 dependencies for Linux and macOS.

Here is the slideshow I used during the opening keynote of the API Platform Conference to introduce FrankenPHP and API Platform 3.2, which now includes FrankenPHP:

Related posts:

  1. FrankenPHP: The Modern Php App Server, written in Go
  2. Introducing API Platform (beta): the next generation PHP web framework
  3. 6x faster Docker builds for Symfony and API Platform projects
  4. API Platform 2.1: when Symfony meets ReactJS (Symfony Live)

11 thoughts on “The PHP Revolution Is Underway: FrankenPHP 1.0 Beta”

  1. Sidux says:
    September 21, 2023 at 4:14 pm

    What’s to point of sticking to PHP, why not just write everything in go for go ?

    Reply
    1. Rob Landers says:
      September 21, 2023 at 7:18 pm

      > What’s to point of sticking to PHP

      PHP is a very expressive language. There are things you can do in PHP that is hard to do in other languages (i.e., reflection) and it isn’t terribly slow. As someone who used to write in C# and PHP a lot, there are patterns in PHP that are too complex to implement in C# but only a few lines of code in PHP.

      Further, PHP has all the bits needed for web-dev, built-in. It also has some fantastic frameworks for building stuff really fast. If you like Slack, or Facebook, or many other popular products, they all initially started as PHP.

      Reply
      1. Jan Kadlec says:
        September 29, 2023 at 7:12 am

        Can you elaborate what are the “patterns in PHP that are too complex to implement in C#” please?

        Reply
    2. Oscar says:
      September 22, 2023 at 3:40 pm

      To run WordPress ofc

      Reply
  2. Tyler Fahey says:
    September 21, 2023 at 7:17 pm

    This looks awesome… Thanks for the great work here.

    Reply
  3. asdf says:
    September 21, 2023 at 7:40 pm

    Does this support WordPress?

    Reply
    1. namankumar80510 says:
      September 22, 2023 at 3:17 pm

      Yes it does. Checkout the GitHub page. There is a sample of WordPress.

      Reply
    2. Mutahhar says:
      September 22, 2023 at 3:30 pm

      Seems like, https://github.com/dunglas/frankenphp-wordpress

      Reply
  4. Brandon says:
    September 22, 2023 at 12:26 pm

    Is php faster than python ?

    Reply
    1. Tomasz says:
      September 22, 2023 at 1:09 pm

      Yes, and by a lot.

      Reply
  5. Tac Tacelosky says:
    September 22, 2023 at 1:34 pm

    This looks awesome! Alas, following the docker instructions

    docker run -v $PWD:/app/public -p 80:80 -p 443:443 dunglas/frankenphp

    Gives a privacy error, can’t connect.

    I saw the message about certutil, but libnss3-tools is already installed (and worked fine with the Symfony CLI).

    {“level”:”info”,”ts”:1695385935.8757255,”logger”:”tls”,”msg”:”cleaning storage unit”,”description”:”FileStorage:/data/caddy”}
    {“level”:”info”,”ts”:1695385935.8757498,”logger”:”tls”,”msg”:”finished cleaning storage units”}
    {“level”:”warn”,”ts”:1695385935.8852496,”logger”:”pki.ca.local”,”msg”:”installing root certificate (you might be prompted for password)”,”path”:”storage:pki/authorities/local/root.crt”}
    {“level”:”info”,”ts”:1695385935.8854089,”msg”:”warning: \”certutil\” is not available, install \”certutil\” with \”apt install libnss3-tools\” or \”yum install nss-tools\” and try again”}
    {“level”:”info”,”ts”:1695385935.8854134,”msg”:”define JAVA_HOME environment variable to use the Java trust”}
    {“level”:”info”,”ts”:1695385936.2782574,”msg”:”certificate installed properly in linux trusts”}
    {“level”:”info”,”ts”:1695385936.2783787,”logger”:”http”,”msg”:”enabling HTTP/3 listener”,”addr”:”:443″}
    {“level”:”info”,”ts”:1695385936.2784247,”msg”:”failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.”}

    Reply

Leave a ReplyCancel reply

Social

  • Bluesky
  • GitHub
  • LinkedIn
  • Mastodon
  • X
  • YouTube

Links

  • API Platform
  • FrankenPHP
  • Les-Tilleuls.coop
  • Mercure.rocks
  • Vulcain.rocks

Subscribe to this blog

Top Posts & Pages

  • JSON Columns and Doctrine DBAL 3 Upgrade
  • Securely Access Private Git Repositories and Composer Packages in Docker Builds
  • Preventing CORS Preflight Requests Using Content Negotiation
  • FrankenPHP: The Modern Php App Server, written in Go
  • Symfony's New Native Docker Support (Symfony World)
  • Develop Faster With FrankenPHP
  • PHP and Symfony Apps As Standalone Binaries
  • How to debug Xdebug... or any other weird bug in PHP
  • HTTP compression in PHP (new Symfony AssetMapper feature)
  • Generate a Symfony password hash from the command line

Tags

Apache API API Platform Buzz Caddy Docker Doctrine FrankenPHP Go Google GraphQL HTTP/2 Hydra hypermedia Hébergement Javascript JSON-LD Kubernetes La Coopérative des Tilleuls Les-Tilleuls.coop Lille Linux Mac Mercure Mercure.rocks Messagerie Instantanée MySQL performance PHP Punk Rock Python React REST Rock'n'Roll Schema.org Security SEO SEO Symfony Symfony Live Sécurité Ubuntu Web 2.0 webperf XML

Archives

Categories

  • DevOps (84)
    • Ubuntu (68)
  • Go (17)
  • JavaScript (46)
  • Mercure (7)
  • Opinions (91)
  • PHP (170)
    • API Platform (77)
    • FrankenPHP (9)
    • Laravel (1)
    • Symfony (97)
    • Wordpress (6)
  • Python (14)
  • Security (15)
  • SEO (25)
  • Talks (46)
© 2025 Kévin Dunglas | Powered by Minimalist Blog WordPress Theme