Artisan.page

octane:frankenphp

Start the Octane FrankenPHP server

Terminal
php artisan octane:frankenphp [--host [HOST]] [--port [PORT]] [--admin-host [ADMIN-HOST]] [--admin-port [ADMIN-PORT]] [--workers [WORKERS]] [--max-requests [MAX-REQUESTS]] [--caddyfile [CADDYFILE]] [--https] [--http-redirect] [--watch] [--poll] [--log-level [LOG-LEVEL]]

Options

admin-hostOptional

The host the admin server should be available on

admin-portOptional

The port the admin server should be available on

caddyfileOptional

The path to the FrankenPHP Caddyfile file

hostOptional

The IP address the server should bind to

http-redirectOptional

Enable HTTP to HTTPS redirection (only enabled if --https is passed)

httpsOptional

Enable HTTPS, HTTP/2, and HTTP/3, and automatically generate and renew certificates

log-levelOptional

Log messages at or above the specified log level

max-requestsOptional

The number of requests to process before reloading the server

pollOptional

Use file system polling while watching in order to watch files over a network

portOptional

The port the server should be available on

watchOptional

Automatically reload the server when the application is modified

workersOptional

The number of workers that should be available to handle requests