Laravel
Deploy Laravel with MySQL or Postgres, APP_KEY and queue workers.
Step by step: Deploy Laravel to DigitalOcean · Deploy Laravel to Hetzner · Deploy Laravel to Vultr · Deploy Laravel to OVHcloud
- Release:
php artisan migrate --force. - Variables:
DB_HOST,DB_PORT,DB_DATABASE,DB_USERNAME,DB_PASSWORDandAPP_URLfrom your.env.exampleare wired to the provisioned database and the app’s URL.APP_KEYis generated in Laravel’sbase64:format. - Workers:
php artisan queue:work, orphp artisan horizonwhenlaravel/horizonis installed. - Octane: with
laravel/octaneincomposer.jsonand no Dockerfile, the web process runsphp artisan octane:start --server=frankenphp --host=0.0.0.0 --port=$PORTautomatically. - Reverb: with
laravel/reverbincomposer.json, areverbworker runningphp artisan reverb:startis added for you.