---
title: "Deploy Laravel on your own server - Deplo"
description: "Push a Laravel app and Railpack builds it on FrankenPHP, runs your migrations and serves it, on a server you own."
url: "https://deplo.build/frameworks/laravel"
image: "https://deplo.build/api/media/file/og_cover.png"
updated: "2026-10-09"
---

# Deploy Laravel on your own server

Push a Laravel app and Railpack builds it on FrankenPHP, runs your migrations and serves it, on a server you own.

## From repo to live in three steps

1. Connect the repository that holds your Laravel app.
2. Railpack recognises the Laravel project and builds it into an image.
3. Push to the branch: every push builds and rolls out a new version.

## What Deplo sets up

- Recognised from the artisan file at the root.
- Composer dependencies installed, and config, event, route and view caches built at build time.
- A package.json gets its frontend built too, Vite included.
- Migrations run when the app starts; RAILPACK\_SKIP\_MIGRATIONS turns that off.

Deplo builds with Railpack by default, so a Laravel project needs no Dockerfile to get started.

[Learn more](https://deplo.build/docs/concepts/what-happens-on-a-deploy#the-image-is-built)

## Laravel on Deplo

Short answers to what comes up before moving a Laravel app onto your own server.

### Which PHP version runs?

The one composer.json asks for, 8.4 when it says nothing. Versions from 8.2 on are supported.

### Are PHP extensions installed?

Yes: every ext- entry in composer.json, plus any you list in RAILPACK_PHP_EXTENSIONS.

### Can I run the database next to it?

Yes. Managed databases live in the same environment and reach the app over the internal network.

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://deplo.build/#organization",
      "name": "Deplo",
      "url": "https://deplo.build",
      "description": "Deploy apps from Git, Docker images or Compose on your own servers with Deplo. Open source, automatic HTTPS, backups and no per-seat fees.",
      "logo": {
        "@type": "ImageObject",
        "url": "https://deplo.build/api/media/file/og_logo.png",
        "width": 824,
        "height": 824
      },
      "sameAs": [
        "https://ds.deplo.build",
        "https://x.com/deplocloud",
        "https://www.instagram.com/deplocloud",
        "https://github.com/DeploCloud/deplo"
      ]
    },
    {
      "@type": "WebSite",
      "@id": "https://deplo.build/#website",
      "name": "Deplo",
      "url": "https://deplo.build",
      "description": "Deploy apps from Git, Docker images or Compose on your own servers with Deplo. Open source, automatic HTTPS, backups and no per-seat fees.",
      "publisher": {
        "@id": "https://deplo.build/#organization"
      }
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Frameworks",
      "item": "https://deplo.build/frameworks"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "Deploy Laravel on your own server",
      "item": "https://deplo.build/frameworks/laravel"
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Which PHP version runs?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The one composer.json asks for, 8.4 when it says nothing. Versions from 8.2 on are supported."
      }
    },
    {
      "@type": "Question",
      "name": "Are PHP extensions installed?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes: every ext- entry in composer.json, plus any you list in RAILPACK_PHP_EXTENSIONS."
      }
    },
    {
      "@type": "Question",
      "name": "Can I run the database next to it?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. Managed databases live in the same environment and reach the app over the internal network."
      }
    }
  ]
}
```
