Shape your own servers for Laravel.

Swage is a self-hosted control panel. Point it at a fresh Ubuntu server and it provisions, hardens and tunes it to the hardware, then deploys your Laravel and PHP apps with zero downtime. Your servers, your panel, no monthly seat.

PHP
8.3 · 8.4 · 8.5
Databases
MySQL · Postgres
Servers
Ubuntu 24.04
production-1
203.0.113.10 · 4 vCPUs · 8 GB
Provisioning
  1. Updating system packages
  2. Configuring the firewall
  3. Installing nginx
  4. Installing PHP 8.5
  5. Installing PostgreSQL with pgvector
  6. Optimizing services for this server
Memory allocation8 GB
PHP-FPM PostgreSQL Redis System

One script to install the panel.

Run one command as root on a fresh Ubuntu 24.04 server. It asks for a domain and an email, installs the newest release, hardens the server and keeps a log of everything it did. Prefer not to open ports? Pass a Cloudflare Tunnel token and only SSH stays open.

Installation guide →

Rather not host the panel yourself? Swage Cloud runs it for you on your own domain, from $12 a month.

root@your-server
apt-get update && apt-get install -y curl && \
curl -fsSL https://raw.githubusercontent.com/Swage-Deploy/swage-core/main/resources/scripts/install-swage.sh \
  -o install-swage.sh && bash install-swage.sh

Everything a Laravel server needs

The hard parts of running servers, handled.

From the first apt-get to the hundredth deploy, Swage keeps every server configured the same careful way.

Tuned to the hardware

Swage reads each server's CPU, memory and disk while it provisions, then sizes PHP-FPM workers, the MySQL buffer pool, PostgreSQL's shared buffers, Redis, nginx and swap to fit.

Zero-downtime deploys

Every deploy builds a fresh release beside the live one and switches over atomically. Push to deploy, call a deploy URL from CI, or press a button.

Isolated sites

Run each site as its own Linux user with its own PHP-FPM pool and an optional private Redis, so one site can never read another's files, secrets or cache.

MySQL, PostgreSQL & pgvector

Pick a database per server and add the other engine or pgvector later, or spin up dedicated database servers on your private network behind an allowlist. Each database user reaches only its own databases.

Workers and schedules

Supervisor daemons, Laravel's scheduler, queue workers and cron jobs, each with its own log, restarted on every deploy.

Config with a safety net

Add your own nginx, PHP, MySQL, PostgreSQL and Redis settings. Swage validates them first and puts the old config back if the service does not come back healthy.

Plugins for git hosts and sites

GitHub and GitLab, LaraOwl and Laravel Nightwatch come as plugins from the plugin index, installed and updated from the dashboard. Any other git host works over SSH with a clone URL.

Built for teams

Add users with generated passwords, then share a whole server or a single site as a Manager or a read-only Viewer who never sees your secrets.

Updates itself

The panel updates to each new version tag with zero downtime from its Updates page, rolls back on its own if the new release fails its health check, and reboots its host when updates need it.

From a bare server to a deployed site.

  1. 1

    Connect a server

    Create an Ubuntu 24.04 server with any provider and add it to Swage as an app server or a database server. Swage gives you one command to run on it.

  2. 2

    Let Swage set it up

    The server reports its hardware, then Swage installs nginx, PHP, your database and Redis, locks down SSH and the firewall, and tunes every service to fit.

  3. 3

    Deploy your sites

    Add a site, pick its repository from GitHub, GitLab or any git host, and deploy. Every release is built beside the live one and switched over at once.

Deployments

A new release every deploy. Zero requests dropped.

Swage clones each deploy into a fresh release directory, links your shared .env and storage, runs your deploy script, and only then points current at it. A failed build never goes live, and the previous releases stay on disk to roll back to.

/home/shop/shop.example.com
current -> releases/20261020214502
releases/
  20261019180311
  20261020093027
  20261020214502  live
shared/
  .env
  storage/

Plugins

Bring your git host, and your monitoring.

Plugins add git hosts to Swage, services to your servers, and integrations to your sites, which can even add their own deploy steps. They come from the plugin index, install and update from the dashboard, and stay pinned to the commit they were installed at, so their code only changes when you update them.

Write your own →

GitHub

swage/github

Repositories from your account and organizations, with deploy keys and signed push webhooks.

GitLab

swage/gitlab

GitLab.com or your own GitLab, subgroups included, with tokens refreshed automatically.

Any git host

custom

No plugin needed: install from any SSH clone URL with a deploy key Swage generates for you.

LaraOwl

swage/laraowl

Report requests, exceptions, queries and jobs from each site to your LaraOwl monitoring server.

Nightwatch

swage/nightwatch

Report your sites to Laravel Nightwatch, with an agent Swage runs and restarts for each site.

Your own

swage-plugin

Write a source control, server or site plugin as a Composer package and list it in the index.

Security

Locked down by default.

Swage holds the keys to every server it manages, so it is built to be careful with them.

Heat up your first server.

Install the panel in a few minutes, connect a server, and deploy.