Learn how to migrate your application from Heroku to Laravel Cloud.Heroku is a general-purpose platform as a service (PaaS) that many Laravel teams have relied on over the years. However, it requires manual PHP configuration, buildpack management, and Procfiles, which add complexity your application doesn’t need. Laravel Cloud offers a simpler operational model with framework-aware defaults, more predictable costs, and no boilerplate setup.
How to migrate
Migrating from Heroku means replacing Heroku-specific concepts, such as Procfiles, buildpacks, dynos, and add-ons, with their Laravel Cloud equivalents.The migration guide walks you through exporting your Postgres database, provisioning your Laravel Cloud infrastructure, and switching your DNS without any downtime to your existing application.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Laravel Cloud","colors":{"primary":"#0057FF","light":"#71A8FF","dark":"#0057FF"},"logo":{"light":"https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/logo/laravel-logo-light.png?fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=f508d8e9c4e3c842e83d055cc376daa1","dark":"https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/logo/laravel-logo-dark.png?fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=fcfe00a4914f5e3ad791b606c3e75795","href":"https://cloud.laravel.com/"},"favicon":{"light":"https://mintcdn.com/cloud/QoefkFOgGxD9GpPV/favicons/favicon-light.svg?fit=max\u0026auto=format\u0026n=QoefkFOgGxD9GpPV\u0026q=85\u0026s=7895f95b1f94018d72bf1d79402bd1e5","dark":"https://mintcdn.com/cloud/QoefkFOgGxD9GpPV/favicons/favicon-dark.svg?fit=max\u0026auto=format\u0026n=QoefkFOgGxD9GpPV\u0026q=85\u0026s=89927b20746f9a0574fa312e44fef351"},"background":{"color":{"light":"#ffffff","dark":"#111110"}},"navbar":{"links":[],"primary":{"type":"button","label":"Get started","href":"https://cloud.laravel.com"}},"footer":{"socials":{"x":"https://x.com/laravel","github":"https://github.com/laravel","youtube":"https://www.youtube.com/laravelphp"}},"seo":{"metatags":{"robots":"noindex"}},"styling":{"codeblocks":{"theme":{"light":"min-light","dark":"material-theme-palenight"}},"latex":true},"integrations":{"fathom":{"siteId":"KZRWMQWT"}},"banner":{"content":"Deploy Laravel PHP, Rails, Django, FastAPI, Express, NestJS, Go, Rust, and more on Laravel Cloud. \u003ca href='https://laravel.com/cloud/docs/runtimes'>Learn more →\u003c/a>","dismissible":true},"contextual":{"options":["copy","chatgpt","claude","cursor","vscode"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cloud","hasAudioNarration":false,"actualSubdomain":"cloud","customDomains":["cloud.laravel.com"],"gitSource":{"type":"github","owner":"laravel","repo":"cloud-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0f695f3d7e2af926e3d379","clientVersion":"0.0.4410","searchFilterCounts":[{"language":"default","tag":"API","count":191},{"language":"default","tag":"Endpoints","count":178},{"language":"default","tag":"Documentation","count":75},{"language":"default","tag":"Environments","count":25},{"language":"default","tag":"Knowledge Base","count":21},{"language":"default","tag":"Basics","count":19},{"language":"default","tag":"Instances","count":14},{"language":"default","tag":"Observability","count":13},{"language":"default","tag":"Caches","count":11},{"language":"default","tag":"Model Gateway","count":11}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":false,"deflection":{"enabled":false,"showHelpButton":false}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"@font-face{font-family:\"Timeless Sans\";src:url(\"/fonts/TimelessSans-Regular.woff2\") format(\"woff2\");font-weight:420;font-style:normal;font-display:swap}@font-face{font-family:\"Timeless Sans\";src:url(\"/fonts/TimelessSans-RegularItalic.woff2\") format(\"woff2\");font-weight:420;font-style:italic;font-display:swap}@font-face{font-family:\"Timeless Sans\";src:url(\"/fonts/TimelessSans-Medium.woff2\") format(\"woff2\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Timeless Sans\";src:url(\"/fonts/TimelessSans-MediumItalic.woff2\") format(\"woff2\");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:\"Timeless Sans\";src:url(\"/fonts/TimelessSans-Semibold.woff2\") format(\"woff2\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"IBM Plex Mono\";src:url(\"/fonts/IBMPlexMono-Var-Roman.woff2\") format(\"woff2\");font-weight:100 700;font-style:normal;font-display:swap}@font-face{font-family:\"IBM Plex Mono\";src:url(\"/fonts/IBMPlexMono-Var-Italic.woff2\") format(\"woff2\");font-weight:100 700;font-style:italic;font-display:swap}:root{--font-sans: \"Timeless Sans\", ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--font-mono: \"IBM Plex Mono\", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;--tracking-tight: -0.025em;--sand-1: #ffffff;--sand-2: #f9f9f8;--sand-3: #f1f0ef;--sand-4: #e9e8e6;--sand-5: #e2e1de;--sand-6: #dad9d6;--sand-9: #8d8d86;--sand-11: #63635e;--sand-12: #21201c;--gray-50: 249 249 248 !important;--gray-100: 241 240 239 !important;--gray-200: 226 225 222 !important;--gray-300: 207 206 202 !important;--gray-400: 141 141 134 !important;--gray-500: 111 109 102 !important;--gray-600: 99 99 94 !important;--gray-700: 73 72 68 !important;--gray-800: 42 42 40 !important;--gray-900: 25 25 24 !important;--gray-950: 17 17 16 !important;--background-light: 255 255 255 !important;--background-dark: 17 17 16 !important}.dark{--sand-1: #111110;--sand-2: #191918;--sand-3: #222221;--sand-4: #2a2a28;--sand-5: #31312e;--sand-6: #3b3a37;--sand-9: #6f6d66;--sand-11: #b5b3ad;--sand-12: #eeeeec}html,body{font-family:var(--font-sans);font-weight:420}body,body *{letter-spacing:calc(\n var(--tracking-tight) + clamp(calc(-0.04em - var(--tracking-tight)), (23.5px - 1em) * 1000, 0px) +\n clamp(0px, (13.5px - 1em) * 1000, calc(0px - var(--tracking-tight)))\n )}code,pre,kbd,samp,code *,pre *,kbd *,samp *{font-family:var(--font-mono)!important;font-feature-settings:\"ss01\" 1, \"ss02\" 1, \"ss03\" 1;letter-spacing:normal!important}b,strong,.font-semibold,.font-bold{font-weight:500!important}#page-title,#content :is(h1,h2,h3,h4){font-family:var(--font-sans)!important;font-weight:500!important;color:var(--sand-12)}#page-title{font-size:2rem;line-height:1.15;text-wrap:balance}@media (min-width: 1024px){#page-title{font-size:2.5rem;line-height:1.1}}#content{font-size:1rem;line-height:1.75rem;color:var(--sand-11)}#content strong{color:var(--sand-12)}#content>h2{margin-top:3.5rem;margin-bottom:1.25rem;padding-top:2.5rem;border-top:1px solid var(--sand-6);font-size:1.5rem;line-height:2rem}#content>h2:first-child{margin-top:0;padding-top:0;border-top:0}#content>h3{margin-top:2.5rem;margin-bottom:0.75rem;font-size:1.125rem;line-height:1.75rem}#content>h4{margin-top:2rem;margin-bottom:0.5rem;font-size:1rem;line-height:1.75rem}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){--link-ink: var(--sand-12);color:inherit!important;font-weight:inherit!important;border-bottom:0!important;text-decoration-line:underline;text-decoration-color:color-mix(in srgb, currentcolor 40%, transparent);text-decoration-thickness:1px;text-underline-offset:0.2em;text-decoration-skip-ink:auto;transition:color 100ms ease-out, text-decoration-color 100ms ease-out}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)):is(:hover,:focus-visible){color:color-mix(in oklab, currentcolor, var(--link-ink) 50%)!important;text-decoration-color:currentcolor}.prose :not(pre)>code{padding:1px 0.25rem;border:0!important;border-radius:0!important;background-color:var(--sand-3)!important;color:var(--sand-12);font-size:0.875em;font-weight:400;box-decoration-break:clone;-webkit-box-decoration-break:clone;overflow-wrap:break-word}.prose :not(pre)>code::before,.prose :not(pre)>code::after{content:none}#content :is(h1,h2,h3,h4) code{font-size:0.875em}.code-block,.code-group,.code-block .code-block-background{border-radius:0!important}.code-group{--rounded-xl: 0px}.code-block,.code-group{border-color:var(--sand-6)!important;box-shadow:none!important}.dark :is(.code-block,.code-group) .code-block-background,.dark :is(.code-block,.code-group) pre.shiki{background-color:var(--sand-2)!important}.code-block-fade-overlay{--fade-color-dark: var(--sand-2) !important;border-radius:0!important}.code-block pre code,.code-block pre code *{font-size:13px!important;line-height:2!important}#content table{font-size:0.875rem;line-height:1.5rem}#content table thead{border-bottom:1px solid var(--sand-6)}#content table th{font-family:var(--font-mono);font-feature-settings:\"ss01\" 1, \"ss02\" 1, \"ss03\" 1;font-size:11px;line-height:normal;font-weight:400!important;letter-spacing:0.06em!important;text-transform:uppercase;color:var(--sand-9);vertical-align:bottom}#content table tbody tr{border-color:var(--sand-5)}@media (min-width: 1024px){:root{--sidebar-width: 16.5rem}.max-w-8xl{max-width:100rem!important}}@media (min-width: 1280px){#content-container:has(#table-of-contents-layout) #content-area{width:calc(100% - 16.5rem)!important}#table-of-contents-layout{width:16.5rem!important}#content-area>*{max-width:48rem}}.callout{gap:1rem!important;padding:1rem!important;border-radius:0!important;border:1px solid var(--sand-6)!important;background-color:var(--sand-2)!important;--callout-accent: #0057ff}@media (min-width: 1024px){.callout{padding:1.25rem!important}}.callout[data-callout-type=\"tip\"]{--callout-accent: #8d54c5}.callout:is([data-callout-type=\"warning\"],[data-callout-type=\"danger\"]){--callout-accent: #f53003}.callout[data-callout-type=\"check\"]{--callout-accent: #18b69b}.callout [data-component-part=\"callout-icon\"]{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:2rem!important;height:2rem;margin:0!important;border-radius:2px;background-color:var(--callout-accent)}.callout [data-component-part=\"callout-icon\"] svg{width:1rem!important;height:1rem!important;color:#ffffff!important}.callout [data-component-part=\"callout-icon\"] svg[style*=\"mask-image\"]{background-color:#ffffff!important}.callout [data-component-part=\"callout-content\"]{padding-top:0.125rem;font-size:1rem!important;line-height:1.75rem!important;color:var(--sand-11)!important}.callout [data-component-part=\"callout-content\"] strong{color:var(--sand-12)!important}.card,.accordion,.accordion-group,.accordion summary,.code-group,.code-block [data-component-part=\"code-block-header\"]{border-radius:0!important}.card,.accordion-group,.accordion{border-color:var(--sand-6)!important;box-shadow:none!important}.card{background-color:var(--sand-1)!important}.card:hover{border-color:var(--sand-9)!important}.frame{padding:0!important;background:transparent!important}.frame>.absolute{display:none}.code-block:has([data-component-part=\"code-block-header\"]){padding:0!important;background-color:var(--sand-2)!important}.code-block [data-component-part=\"code-block-header\"]{border-bottom:1px solid var(--sand-6)}.code-block:has([data-component-part=\"code-block-header\"]) .code-block-background{background-color:var(--sand-1)!important}.dark .code-block:has([data-component-part=\"code-block-header\"]) .code-block-background{background-color:var(--sand-2)!important}[data-component-part=\"tabs-list\"]{border-color:var(--sand-6)!important}[data-component-part=\"tab-button\"]{font-weight:500!important;color:var(--sand-11)!important}[data-component-part=\"tab-button\"][data-active=\"true\"]{color:var(--sand-12)!important;border-color:var(--sand-12)!important}[data-component-part=\"step-number\"]>div{border-radius:2px!important;background-color:var(--sand-3)!important;color:var(--sand-12)!important;font-weight:500!important}[data-component-part=\"step-line\"]{background-color:var(--sand-6)!important}.sidebar-group-header{font-weight:500!important;color:var(--sand-12)!important}.sidebar-group{margin-left:1rem;border-left:1px solid var(--sand-6)}.sidebar-group .sidebar-group{margin-left:0;border-left:0}#navigation-items li>a{margin-left:-1px;padding-top:0.25rem!important;padding-bottom:0.25rem!important;line-height:1.25rem;padding-left:0.875rem!important;border-left:1px solid transparent;border-radius:0!important;background-color:transparent!important;color:var(--sand-11)!important;text-shadow:none!important}#navigation-items li>a:hover{border-left-color:var(--sand-9);color:var(--sand-12)!important}#navigation-items li[data-active=\"true\"]>a{border-left-color:rgb(var(--primary));color:rgb(var(--primary))!important}.dark #navigation-items li[data-active=\"true\"]>a{border-left-color:rgb(var(--primary-light));color:rgb(var(--primary-light))!important}#table-of-contents h2 button{font-family:var(--font-mono);font-feature-settings:\"ss01\" 1, \"ss02\" 1, \"ss03\" 1;font-size:11px;font-weight:400!important;letter-spacing:0.06em!important;text-transform:uppercase;color:var(--sand-9)!important}#table-of-contents h2 button svg{display:none}#table-of-contents-content{border-left:1px solid var(--sand-6)}#table-of-contents-content .toc-item>a{margin-left:-1px;padding-left:0.875rem;border-left:1px solid transparent;font-size:13px;line-height:1.25rem;font-weight:420!important;color:var(--sand-11)!important}#table-of-contents-content .toc-item[data-depth=\"1\"]>a{padding-left:1.5rem!important}#table-of-contents-content .toc-item>a:hover{border-left-color:var(--sand-9);color:var(--sand-12)!important}#table-of-contents-content .toc-item>a[aria-current=\"location\"]{border-left-color:rgb(var(--primary));color:var(--sand-12)!important}#navbar-transition{border-color:var(--sand-6)!important}#footer{border-color:var(--sand-6)!important}.table-auto{table-layout:auto}table.table-fixed{table-layout:fixed!important}table{table-layout:auto!important;display:table}th{text-align:left}td>p.icon{margin:0}.short{p {\n margin-top: 0;\n margin-bottom: 0;\n }}.pr-16{padding-right:4em}.max-w-none{max-width:none!important}.align-top{vertical-align:top}.italic{font-style:italic}.pr-20{padding-right:5rem}.max-h-50vh{max-height:50vh}.select-arrow{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e\");background-size:1.5em 1.5em;background-position:right 0.5rem center;background-repeat:no-repeat}#banner a{color:rgb(var(--white))!important;white-space:nowrap}#banner>div>p{white-space:normal;padding-top:0.125rem;padding-bottom:0.125rem;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;line-clamp:3;-webkit-line-clamp:3}#banner:has(>button){padding-right:2.5rem}@media screen and (min-width: 768px){#banner{height:auto}#banner:has(>button){padding-left:2.5rem}}#topbar-cta-button a{height:2rem;padding:0 0.75rem!important}#topbar-cta-button a>span:first-child{border-radius:0!important;background-color:var(--sand-12);opacity:1!important;transition:background-color 100ms ease-out}#topbar-cta-button a:hover>span:first-child{background-color:var(--sand-11)}.dark #topbar-cta-button a:hover>span:first-child{background-color:#ffffff}#topbar-cta-button a .z-10,#topbar-cta-button a .z-10 span,#topbar-cta-button a svg{color:var(--sand-1)!important}#page-context-menu>button{height:2rem;border-radius:0!important;border-color:var(--sand-6)!important;background-color:var(--sand-1)!important;color:var(--sand-12)!important}#page-context-menu>button:hover{background-color:var(--sand-2)!important}[id^=\"search-bar-entry\"]{border-radius:0!important;--tw-ring-color: var(--sand-6) !important;filter:none!important}[id^=\"search-bar-entry\"]:hover{--tw-ring-color: var(--sand-9) !important}.callout [data-component-part=\"callout-icon\"]:empty{display:none}.method-pill,.tryit-button,:has(>*>.tryit-button),:has(>.method-pill),.method-nav-pill>span,.nav-tag-pill-text,[data-component-part=\"field-info-pill\"],[data-component-part=\"field-required-pill\"],:has(>.method-pill) .rounded-md{border-radius:0!important}"}]}
{"page":{"pagePath":"migrate-from-heroku","slug":"/migrate-from-heroku","pageMetadata":{"title":"Migrate from Heroku","description":"Migrate your Laravel application from Heroku to Laravel Cloud with step-by-step deployment guidance.","href":"/migrate-from-heroku"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Migrate your Laravel application from Heroku to Laravel Cloud with step-by-step deployment guidance.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,..._provideComponents(),...props.components},{Heading,Note}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsxs(Note,{children:[`This guide is for Laravel applications. For Ruby on Rails, see `,_jsx(_components.a,{href:`/knowledge-base/migrating-rails-to-cloud#move-from-heroku`,children:`Migrate Rails to Cloud`}),`.`]}),`\n`,_jsx(_components.p,{children:`Learn how to migrate your application from Heroku to Laravel Cloud.`}),`\n`,_jsx(_components.p,{children:`Heroku is a general-purpose platform as a service (PaaS) that many Laravel teams have relied on over the years. However, it requires manual PHP configuration, buildpack management, and Procfiles, which add complexity your application doesn’t need. Laravel Cloud offers a simpler operational model with framework-aware defaults, more predictable costs, and no boilerplate setup.`}),`\n`,_jsx(Heading,{level:`3`,id:`how-to-migrate`,children:`How to migrate`}),`\n`,_jsx(_components.p,{children:`Migrating from Heroku means replacing Heroku-specific concepts, such as Procfiles, buildpacks, dynos, and add-ons, with their Laravel Cloud equivalents.`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`https://laravel.com/cloud/migrate-heroku-cloud`,children:`migration guide`}),` walks you through exporting your Postgres database, provisioning your Laravel Cloud infrastructure, and switching your DNS without any downtime to your existing application.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"min-light","dark":"material-theme-palenight"}},"config":{},"pageMetadata":{"title":"Migrate from Heroku","description":"Migrate your Laravel application from Heroku to Laravel Cloud with step-by-step deployment guidance.","href":"/migrate-from-heroku"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How to migrate","slug":"how-to-migrate","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/cloud/412bdbfbeb58e5da/gtag.js","/docs/_mintlify/custom/cloud/1a6e9e638535d772/plain.js","/docs/_mintlify/custom/cloud/f2ef70ddf7841ac3/rudderstack.js","/docs/_mintlify/custom/cloud/d55d837bfb92372f/scripts/fetch-ips.js","/docs/_mintlify/custom/cloud/715aa494111d58db/scripts/sync-prices.js"],"subdomain":"cloud","siteName":"Laravel Cloud","title":"Migrate from Heroku - Laravel Cloud","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T13:56:44.783Z","originalFileLocation":"migrate-from-heroku.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Migrate your Laravel application from Heroku to Laravel Cloud with step-by-step deployment guidance.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Laravel Cloud\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/cloud/xINqL6JT-DYt3-Cw/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/cloud/xINqL6JT-DYt3-Cw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/cloud/xINqL6JT-DYt3-Cw/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/cloud/xINqL6JT-DYt3-Cw/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/cloud/xINqL6JT-DYt3-Cw/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/cloud/xINqL6JT-DYt3-Cw/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/cloud/xINqL6JT-DYt3-Cw/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/cloud/xINqL6JT-DYt3-Cw/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/cloud/xINqL6JT-DYt3-Cw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Migrate from Heroku - Laravel Cloud\">\u003cmeta data-mint-head property=\"og:description\" content=\"Migrate your Laravel application from Heroku to Laravel Cloud with step-by-step deployment guidance.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Laravel Cloud\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://cloud.laravel.com/docs/migrate-from-heroku\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cloud.mintlify.site/docs/_mintlify/api/og/v2?division=Migration+guides\u0026amp;title=Migrate+from+Heroku\u0026amp;description=Migrate+your+Laravel+application+from+Heroku+to+Laravel+Cloud+with+step-by-step+deployment+guidance.\u0026amp;theme=ca42ab5676c99047f1e15c7c\u0026amp;signature=d3f2332ee737d1d202243727dbfa9b501bf3e6cfc3144fc7404474ae5ea1d259\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Migrate from Heroku - Laravel Cloud\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Migrate your Laravel application from Heroku to Laravel Cloud with step-by-step deployment guidance.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cloud.mintlify.site/docs/_mintlify/api/og/v2?division=Migration+guides\u0026amp;title=Migrate+from+Heroku\u0026amp;description=Migrate+your+Laravel+application+from+Heroku+to+Laravel+Cloud+with+step-by-step+deployment+guidance.\u0026amp;theme=ca42ab5676c99047f1e15c7c\u0026amp;signature=d3f2332ee737d1d202243727dbfa9b501bf3e6cfc3144fc7404474ae5ea1d259\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/cloud/xINqL6JT-DYt3-Cw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Laravel Cloud\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0057FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://cloud.laravel.com/docs/migrate-from-heroku\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/migrate-from-heroku.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://cloud.laravel.com/#organization\",\"name\":\"Laravel Cloud\",\"url\":\"https://cloud.laravel.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cloud/MkfTsQSKGENWqY-2/logo/laravel-logo-light.png?fit=max\u0026auto=format\u0026n=MkfTsQSKGENWqY-2\u0026q=85\u0026s=f508d8e9c4e3c842e83d055cc376daa1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://cloud.laravel.com/docs#website\",\"name\":\"Laravel Cloud\",\"url\":\"https://cloud.laravel.com/docs\",\"publisher\":{\"@id\":\"https://cloud.laravel.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://cloud.laravel.com/docs/migrate-from-heroku#webpage\",\"url\":\"https://cloud.laravel.com/docs/migrate-from-heroku\",\"name\":\"Migrate from Heroku\",\"description\":\"Migrate your Laravel application from Heroku to Laravel Cloud with step-by-step deployment guidance.\",\"dateModified\":\"2026-10-27T13:56:44.783Z\",\"isPartOf\":{\"@id\":\"https://cloud.laravel.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://cloud.laravel.com/docs/migrate-from-heroku#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://cloud.laravel.com/docs/migrate-from-heroku#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Laravel Cloud\",\"item\":\"https://cloud.laravel.com/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Migrate from Heroku\",\"item\":\"https://cloud.laravel.com/docs/migrate-from-heroku\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://cloud.laravel.com/docs/migrate-from-heroku#article\",\"headline\":\"Migrate from Heroku\",\"name\":\"Migrate from Heroku\",\"description\":\"Migrate your Laravel application from Heroku to Laravel Cloud with step-by-step deployment guidance.\",\"url\":\"https://cloud.laravel.com/docs/migrate-from-heroku\",\"mainEntityOfPage\":{\"@id\":\"https://cloud.laravel.com/docs/migrate-from-heroku#webpage\"},\"dateModified\":\"2026-10-27T13:56:44.783Z\",\"publisher\":{\"@id\":\"https://cloud.laravel.com/#organization\"},\"isPartOf\":{\"@id\":\"https://cloud.laravel.com/docs#website\"}}]}\u003c/script>","agentPointerHref":"/docs/migrate-from-heroku.md","siteName":"Laravel Cloud","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/intro"}]},{"tab":"Knowledge Base","groups":[{"group":"Getting started","pages":[{"title":"Knowledge base","sidebarTitle":"Introduction","href":"/knowledge-base/intro"}]},{"group":"Guides","pages":[{"title":"Manage robots.txt","sidebarTitle":"Configuring robots.txt to Control Search Engine Crawling","href":"/knowledge-base/managing-robots"},{"title":"Deploy Statamic on Laravel Cloud","sidebarTitle":"Deploying Statamic","href":"/knowledge-base/statamic-on-cloud"},{"title":"Generating PDFs","sidebarTitle":"Generating PDFs","href":"/knowledge-base/generating-pdfs"},{"title":"How much memory do your queue workers need?","sidebarTitle":"Sizing Queue Worker Memory","href":"/knowledge-base/sizing-queue-worker-memory"},{"title":"Understanding logs","sidebarTitle":"Understanding logs","href":"/knowledge-base/logs"},{"title":"Upgrading from MySQL 8.0 to MySQL 8.4","sidebarTitle":"Upgrading from MySQL 8.0 to 8.4","href":"/knowledge-base/upgrade-mysql-to-84"},{"title":"Using Yarn, PNPM, or Bun","sidebarTitle":"Using Yarn, PNPM, or Bun","description":"Learn how to use PNPM, Yarn, or Bun with Laravel Cloud and compare package managers.","href":"/knowledge-base/using-yarn-bun-pnpm"}]},{"group":"Migration guides","icon":"folder","pages":[{"title":"Migrate from Heroku","href":"/migrate-from-heroku"},{"title":"Migrate Rails to Cloud","sidebarTitle":"Rails migration","description":"Move a Rails application from Heroku, AWS, or a Kamal deployment to Laravel Cloud.","href":"/knowledge-base/migrating-rails-to-cloud"},{"title":"Migrate from Vapor","mode":"wide","href":"/migrating-from-vapor"},{"title":"Migrate an application to a different region","sidebarTitle":"Migrate app to a different region","href":"/knowledge-base/migrate-to-different-region"},{"title":"Migrate MySQL to PostgreSQL","sidebarTitle":"Migrate MySQL to PostgreSQL","href":"/knowledge-base/migrating-mysql-to-postgresql"},{"title":"Migrate from Redis by Upstash to Laravel Valkey","sidebarTitle":"Migrate Upstash to Valkey","href":"/knowledge-base/migrate-upstash-to-valkey"},{"title":"Migrating Object Storage to Laravel Cloud","sidebarTitle":"Migrate Object Storage","href":"/knowledge-base/migrating-object-storage"},{"title":"Migrate from queue clusters","sidebarTitle":"Migrate queue clusters","href":"/knowledge-base/migrate-from-queue-clusters"}]},{"group":"Troubleshooting","pages":[{"title":"Fix 502 Bad Gateway or internal server errors","sidebarTitle":"502 Bad Gateway","href":"/knowledge-base/502-error"},{"title":"Domain Verification","sidebarTitle":"Domain Verification","href":"/knowledge-base/domain-verification"},{"title":"Fix environment not sleeping issues","sidebarTitle":"Environment not sleeping","href":"/knowledge-base/environment-not-sleeping"},{"title":"Fix production command failures","sidebarTitle":"Fix production command failures","href":"/knowledge-base/command-failed-prod-app"},{"title":"SQLite Support","sidebarTitle":"SQLite Support","href":"/knowledge-base/sqlite"}]}]},{"tab":"API","icon":"square-terminal","pages":[{"title":"API","href":"/api/introduction"}]}]},"basePath":"","title":"Migrate from Heroku - Laravel Cloud","deploymentId":"dpl_4jsQX6wxBTKTWBK49utMnZg6AX9Q","buildId":"dpl_4jsQX6wxBTKTWBK49utMnZg6AX9Q","dynamics":["10e4515597"],"chunks":["BannerMarkdown-BA49O1gy.js","dist-b2i9ft66.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}