Back home
Published4th Nov 2025

Laravel Forge Notes

#devops

Server & Site Setup

  • Forge provisions a fresh Ubuntu server and installs all essentials: Nginx, PHP, MySQL ...
  • You can choose the PHP version during provisioning, but you can install or switch versions later under Settings > General > PHP version.
  • Forge automatically creates a forge user (non-root) for all operations, with sudo access for specific tasks.

Daemons

Laravel Forge daemons are essentially Supervisor-managed processes. When you create a daemon through Forge’s UI, Forge generates a dedicated Supervisor program file under /etc/supervisor/conf.d/ using a unique identifier for the process. Each entry specifies:

  • The command to execute (php artisan queue:work, php artisan horizon, etc.)
  • The user (forge or an isolated site user)
  • The working directory (/home/forge/),
  • Autorestart behavior, log file paths, and other Supervisor directives.