Artisan.page

octane:swoole

Start the Octane Swoole server

Terminal
php artisan octane:swoole [--host [HOST]] [--port [PORT]] [--workers [WORKERS]] [--task-workers [TASK-WORKERS]] [--max-requests [MAX-REQUESTS]] [--watch] [--poll]

Options

hostOptional

The IP address the server should bind to

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

task-workersOptional

The number of task workers that should be available to handle tasks

watchOptional

Automatically reload the server when the application is modified

workersOptional

The number of workers that should be available to handle requests