Laravel
← Docs · Frameworks

Laravel

Deploy Laravel with MySQL or Postgres, APP_KEY and queue workers.

  • Release: php artisan migrate --force.
  • Variables: DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, DB_PASSWORD and APP_URL from your .env.example are wired to the provisioned database and the app’s URL. APP_KEY is generated in Laravel’s base64: format.
  • Workers: php artisan queue:work, or php artisan horizon when laravel/horizon is installed.
  • Octane: with laravel/octane in composer.json and no Dockerfile, the web process runs php artisan octane:start --server=frankenphp --host=0.0.0.0 --port=$PORT automatically.
  • Reverb: with laravel/reverb in composer.json, a reverb worker running php artisan reverb:start is added for you.