Laravel Octane v2.2.6 was released yesterday with support for using aarch64 builds of FrankenPHP. This means you can use FrankenPHP's Octane integration on arm64 or Apple Silicon via Laravel Sail:
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
Octane v2.2.6 has just been released, featuring support for the new Linux ARM builds from FrankenPHP. This means you can now enjoy @laravelphp Octane's FrankenPHP integration on servers like Hetzner arm64 or on your Apple Silicon laptop through Laravel Sail. Enjoy! ⛽️ pic.twitter.com/kTwGyMrfGY— Nuno Maduro (@enunomaduro) December 26, 2023
The Octane documentation was also updated with instructions on using FrankenPHP via Laravel Sail. Please note, that once you follow the instructions to update Laravel Sail's Supervisor configuration, you will need to rebuild your application image to start using FrankenPHP with Sail:
./vendor/bin/sail build --no-cache
FrankenPHP now supports Linux (x86_64 and aarch64) and macOS buils, and other systems should use Docker images or compile FrankenPHP manually. Octane will determine the server architecture needed to run Octane with FrankenPHP binaries, thanks to a contribution by @foremtehan to support the new aarch64 builds in Pull Request #793.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.