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.


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
Technical Program Manager at Superscript
Create your account at cloud.laravel.com and set up your organization. Have questions? Check our Laravel Cloud Quickstart documentation.
Create the resources your application needs:
You've now set up a new Laravel Cloud account and provisioned all necessary infrastructure. You can now migrate your Heroku application to Laravel Cloud.
With your new Laravel Cloud database provisioned and public endpoint enabled:
# From your local machine
pg_restore \
--clean \
--no-owner \
--no-acl \
--if-exists \
--dbname="postgresql://cloud-db-username:cloud-db-password@cloud-db-host:cloud-db-port/cloud-db-database" \
"dump-file.bak"At this point, you are ready to deploy your application to Laravel Cloud by hitting the "Deploy" button. Follow the next steps to test if everything is working correctly.
Before switching DNS:
Once verified, point your domain to Laravel Cloud:
After migration is complete and stable:
Once you've successfully deployed and tested your application, don't forget to cancel your Heroku add-ons and dynos. You can remove the Heroku app or keep it for reference until you're confident in Laravel Cloud.
Heroku setup: Postgres + Redis + S3/assets + queues
Laravel Cloud setup: Postgres database + Redis + object storage + managed queues for automatic scaling
Estimated migration time: 30-60 minutes
Heroku setup: Postgres + Heroku Redis or similar
Laravel Cloud setup: Postgres database + Redis
Estimated migration time: 20-40 minutes
Heroku setup: Production + staging apps
Laravel Cloud setup: Create separate environments in the same application
Estimated migration time: 45-90 minutes per environment
Heroku setup: Private spaces
Laravel Cloud setup: Private cloud
Estimated migration time: Contact sales
After successful migration:
Set appropriate min/max replicas based on your traffic patterns.
For staging/development environments to reduce costs.
Leverage Laravel Cloud's managed queues for background jobs.
Use Laravel Cloud's built-in metrics to optimize compute resources.
Compare your Laravel Cloud usage costs to previous Heroku bills.
Migrating from Heroku to Laravel Cloud gives you a cleaner workflow, faster deployments, and predictable performance without the overhead of managing Heroku add-ons and dynos.
With zero-config environments, autoscaling, and a straightforward infrastructure model, most applications can be migrated in under an hour.
By following the steps in this guide, you can transition smoothly and start taking advantage of Laravel Cloud's simpler, more cost-effective platform.
Why migrate from Heroku to Laravel Cloud?
Need extra guidance?
Visit documentation
Migration assistance
Contact sales for complex migrations
AI-assisted migration
Using an agent for your migration? Copy the URL into your terminal.
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, the recommended option is managed queues — queue workers that scale based on demand and cost nothing when idle. You can also run queue workers on your app cluster for simple setups, or use a worker cluster for scheduled tasks or custom processes.
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
Technical Program Manager at Superscript
Let's build the incredible together, with Laravel. Start now with $5 in usage credit.