The Laravel Artisan Cheatsheet now has an API. Learn more.


Start the Octane Swoole server


  • host - The IP address the server should bind to Optional
  • port - The port the server should be available on Optional
  • workers - The number of workers that should be available to handle requests Optional
  • task-workers - The number of task workers that should be available to handle tasks Optional
  • max-requests - The number of requests to process before reloading the server Optional
  • watch - Automatically reload the server when the application is modified Optional
  • poll - Use file system polling while watching in order to watch files over a network Optional
php artisan octane:swoole [--host [HOST]] [--port [PORT]] [--workers [WORKERS]] [--task-workers [TASK-WORKERS]] [--max-requests [MAX-REQUESTS]] [--watch] [--poll]