What you can deploy
Backend
- PHP
- TypeScript / JavaScript
- Python
- Go
- Java
- C# / .NET
- Any language
Frontend
Full-stack
The two Laravel stacks create a normal Laravel website. Its front-end assets (Vite, Inertia, Livewire’s JavaScript) are built on every deploy.
Try it with an example
No code yet? On Add website, set Source to Example project. Laravelify copies a small working app for the framework you picked into its own local git repository, and you deploy it like any other site. Use the framework tabs, the search box, and the pin icon (pins stay in your browser) to find a type fast.Backend and frontend as separate sites
Create each part as its own website in the same group, each with its own domain:
Point the frontend at the backend’s domain (a build-time variable such as
VITE_API_URL, or NEXT_PUBLIC_API_URL), and allow the frontend’s domain in the backend’s CORS settings.
What happens on a deploy
- PHP
- Node servers
- Python, Go, Java, .NET, Bun
- Frontend builds
Laravel:
composer install, APP_KEY, migrations, artisan optimize, and a front-end build when there is a package.json. See Laravel sites.PHP: composer install when there is a composer.json. The web root is the folder you chose (default public, or . for the repository root).Build settings
Open Runtime on the website. Empty fields use the defaults above.The start command and port are written into the PM2 file. After changing them, click Regenerate files, then deploy.
Environment variables
The Environment tab writes the site’s.env file.
- Node servers read it at start through PM2.
- Front-end builds read it while building. Values like
VITE_API_URL,NEXT_PUBLIC_*, orNUXT_PUBLIC_*are compiled into the files, so deploy again after changing them.
Requirements per framework
- Express and Node.js: the app must listen on
process.env.PORT. - NestJS:
npm run buildmust producedist/main.js(the default). For another entry file, set the start command. - Next.js: set
output: 'standalone'innext.config. - Nuxt: the default Nitro
node-serverpreset, which writes.output/. - SvelteKit: use
@sveltejs/adapter-node, which writesbuild/. Laravelify setsORIGINfrom the site’s address so form posts work. - Angular, React, Vue, Svelte: a
buildscript inpackage.json. - Django: a
requirements.txtwith Django, andALLOWED_HOSTSthat includes your domain. SetSTATIC_ROOTforcollectstatic. - Flask: the app object
appinapp.py, or set the start command (likegunicorn wsgi:application). - FastAPI: the app object
appinmain.py, or set the start command. - Go: a
go.mod; the program listens on127.0.0.1:$PORT. - Bun: a
startscript inpackage.json, listening onprocess.env.PORT. - Spring Boot: a
pom.xmlorbuild.gradlethat builds an executable jar (the Spring Boot plugin does). The Java version comes from<java.version>or the Gradle toolchain. See Spring Boot sites. - ASP.NET Core: a
.csprojor.slnin the repository root (or aProgram.cs). The .NET version comes from<TargetFramework>(net9.0→ .NET 9.0). With a solution, the published project that runs on ASP.NET Core is started. The site’s.envsetsASPNETCORE_URLS=http://127.0.0.1:<port>andASPNETCORE_ENVIRONMENT=Production. - Dockerfile: a
Dockerfilein the repository root. See Dockerfile sites. - Hugo: a
hugo.toml(orconfig.toml) in the repository root. - Astro: static output (the default). Server rendering needs the Node adapter, which fits Node.js with start command
node dist/server/entry.mjs.