Skip to content
spectivis.com

Spectivis CloudLaravel

Laravel on Spectivis Cloud

What the Laravel preset sets up, which variables Cloud provides and what to know before you deploy.

The Laravel preset runs your app in one instance. The web server, the queue worker and the scheduler all run inside that instance and share its memory and CPU. They cost nothing extra.

Setting Default
Web server FrankenPHP. The document root is public.
PHP version Read from the platform data in composer.lock, not from composer.json. To pin one, pick it per environment in Settings, Build and deploy (7.4 to 8.5; 7.4, 8.0 and 8.1 are past end of life). It applies on the next deploy.
Health path /up for Laravel 11 and newer, otherwise /.
Release command php artisan migrate --force. You can edit it.
Queue worker On. php artisan queue:work --sleep=3 --tries=3 --max-time=3600. You can edit it or switch it off.
Scheduler On. php artisan schedule:work.
Reverb Off. See Reverb.
Persistent folder storage/app. It survives deploys.

The queue worker and the scheduler are on by default because a queued job with no worker never runs.

The release command runs in a one-off container of the new build, before the new version starts. If it fails, the deploy fails and the old version keeps serving. Migrations run here and not when the app starts.

Variable Value
APP_KEY Made once when the environment is created, if you have not set one.
APP_URL The environment’s main address.
APP_ENV production
DB_CONNECTION, DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, DB_PASSWORD The environment’s MySQL database. See The database password.
LOG_CHANNEL stderr, so logs appear in the Logs tab.
CACHE_STORE, QUEUE_CONNECTION, SESSION_DRIVER database. With Redis (Valkey), cache and sessions use redis.

You can override any of them. See Variables. Run php artisan key:generate --show if you want your own key.

  • Sleep. While an environment is asleep, queue jobs and scheduled tasks pause. If your app needs them to run on time, turn off “Sleep when idle”. See Sleep and wake.
  • Files. Only the persistent folder survives a deploy. Anything else written to disk is gone after the next deploy. You cannot restore files from backups yourself. See Backups.
  • Mail. Port 25 is blocked. See Sending mail.
  • Uploads. One request can carry up to 100 MB. See Cloudflare limits.
  • Database. Each environment has one MySQL 8.4 database. Connections from outside Cloud are not available. Use import and export, phpMyAdmin and the Commands tab.
  • Interactive tools. php artisan tinker needs a terminal. Use the Shell mode of the Terminal tab.
© 2026 Spectivis Technologies Inc.TermsPrivacyRefundsAcceptable use