Thursday, February 29, 2024
HomePHPFrankenPHP v1.0 is Right here - Laravel Information

FrankenPHP v1.0 is Right here – Laravel Information

FrankenPHP simply hit a big milestone this week, reaching a v1.0 launch. A contemporary PHP utility server written in Go, FrankenPHP offers you a production-grade PHP server with only one command.

It contains native assist for Symphony, Laravel, WordPress, and extra:

  • Manufacturing-grade PHP server, powered by Caddy
  • Straightforward deploy – package deal your PHP apps as a standalone, self-executable binary
  • Run just one service – no extra separate PHP-FPM and Nginx processes
  • Extensible – suitable with PHP 8.2+, most PHP extensions, and all Caddy modules
  • Employee mode – boot your utility as soon as and maintain it in reminiscence
  • Actual-time occasions despatched to the browser as a JavaScript occasion
  • Zstandard and Gzip compression
  • Structured logging
  • Monitor Caddy with built-in Prometheus metrics
  • Native assist for HTTPS, HTTP/2 and HTTP/3
  • Automated HTTPS certificates and renewals
  • Sleek launch – deploy your apps with zero downtime
  • Help for Early Hints

Is there assist for FrakenPHP in Laravel Octane?
Not but, however there may be an lively pull request to Add assist for FrankenPHP to Laravel Octane.

Which PHP modules are supported?
I attempted in search of a definitive record, however from what I collect hottest PHP extensions ought to work. The documentation confirms that OPcache and Debug are natively supported by FrankenPHP.

You may get began with FrankenPHP at, and browse the documentaion to be taught concerning the employee mode, Docker pictures, and creating static binaries of your utility.

If you wish to experiment together with your utility, the simplest solution to strive it out is to run the next Docker command:

docker run -v $PWD:/app/public

-p 80:80 -p 443:443


For Laravel, you will have to run the next Docker command (the FrankenPHP Laravel docs have full setup directions):

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

You can too run the frankenphp binary in macOS and Linux should you’d relatively not use Docker.



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments