Laravel Cloud now offers $5 in usage credit with every new subscriptionStart building

Migrate from Heroku to Laravel Cloud

Users who've migrated from Heroku to Laravel Cloud estimate cost reductions of up to 50%. If you're ready to make the switch, this guide walks you through migrating your application from Heroku to Cloud.

Start in Cloud with $5 in free usage credit.

Why Migrate from Heroku to Laravel Cloud?

  • Reduce infrastructure costs. Users who migrated from Heroku to Laravel Cloud estimated savings of up to 50% in infrastructure costs.

  • Built for Laravel, not adapted for it. Heroku is a general-purpose PaaS that relies on buildpacks, Procfiles, and manual PHP configuration. Laravel Cloud is purpose-built for Laravel, with framework-aware defaults and no boilerplate setup required.

  • Consistent, zero-downtime deployments. Heroku build times vary depending on buildpack configuration and slug size. Laravel Cloud is optimized specifically for Laravel applications, delivering reliable sub-minute deployments with zero-downtime releases included by default.

  • More included, fewer add-ons. Features such as edge caching, DDoS protection, and auto-hibernation are built into Laravel Cloud. On Heroku, comparable functionality typically requires multiple paid add-ons and additional configuration.

Laravel Cloud provides the programmable, seamless infrastructure that mirrors our own ambition, allowing us to slash our spend by 50% and shift our focus from managing servers to building the future of insurance.

Craig Morris

Craig Morris

Technical Program Manager at Superscript

Read the customer story

Prerequisites

  • Access to your current Heroku application and Postgres database
  • Git repository connected to a supported provider (GitHub, GitLab, Bitbucket)
  • Database credentials for your existing Heroku Postgres database
  • DNS management access for your domain
  • A Laravel Cloud account
If you already have all these prerequisites in place, lower your DNS TTL 24 hours before migration for faster propagation.

Why migrate from Heroku to Laravel Cloud?

Need extra guidance?

Migration assistance

Contact sales for complex migrations

AI-assisted migration

Using an agent for your migration? Copy the URL into your terminal.

Frequently asked questions

Most applications can be migrated in under an hour. Complex apps may take 2-4 hours.
No. Keep Heroku running while you set up Laravel Cloud, then switch DNS when ready.
In most cases, no. Laravel Cloud is designed to work with standard Laravel applications. Heroku uses Postgres, and Laravel Cloud supports Postgres too.
Laravel's scheduler works the same on Laravel Cloud, no changes needed.
No. Heroku uses the Procfile to define your web process, workers, and release commands. On Laravel Cloud, all of this is configured through the dashboard: your web server, queue workers, scheduler, and deploy commands are all managed via the UI. You can delete the Procfile.
No. Heroku uses buildpacks to detect and build your PHP app. Cloud is purpose-built for Laravel — it detects your app automatically from the repo. You choose your PHP version and Node version (for frontend builds) in the environment settings. Frontend build steps (like npm install && npm run build) go in the Build Commands section of your environment settings.
On Heroku, you probably ran a separate worker dyno with php artisan queue:work in your Procfile. On Laravel Cloud, you have two options: create a dedicated queue cluster from the infrastructure canvas (autoscales based on job depth and latency), or enable background processes on your existing App cluster.
Go to your environment's settings in the Laravel Cloud dashboard and add them in the Environment variables section. Cloud automatically injects credentials for any attached resources (database, cache, object storage), so you can skip those. Just bring over your app-specific variables, such as API keys, mail config, etc. Redeploy after saving.

Laravel Cloud provides the programmable, seamless infrastructure that mirrors our own ambition, allowing us to slash our spend by 50% and shift our focus from managing servers to building the future of insurance.

Craig Morris

Craig Morris

Technical Program Manager at Superscript

Read the customer story

Ready to focus on shipping?

Let's build the incredible together, with Laravel. Start now with $5 in usage credit.