Laravel + Swyftstack

PostgreSQL for Laravel, ready in minutes.

A managed PostgreSQL Laravel will be happy with, including SSL, backups, and a copyable connection string under a minute.

How we fit together

Forge ships your Laravel app. Swyftstack ships its data.

Whether you're on Forge, Vapor, Ploi, or your own server, Swyftstack is just a DATABASE_URL away. config/database.php and config/filesystems.php stay otherwise untouched.

Laravel Forge / Vapor: your PHP runtime

Forge provisions the VPS your Laravel app runs on. Vapor pushes it to Lambda. We don't replace either - we replace the bare-metal Postgres line item with a managed connection string.

Swyftstack: your data + your files

Managed PostgreSQL 16 on a single DATABASE_URL, plus app object storage on the same dashboard. SSL by default, daily backups, scoped credentials, and a single invoice for both.

PostgreSQL 16 Object storage

When Forge / DigitalOcean Postgres is the right tool

  • You're already running every other service on a managed VPS and want the database next to your app.
  • You want raw `psql` superuser to install your own extensions.
  • Your team has the appetite to run pg_basebackup, WAL retention, and certificate rotation in-house.

When Swyftstack is the obvious choice

  • You want SSL, backups, retention, and pooling configured correctly without reading three docs sites.
  • You'd rather pay one bill for db + S3 + egress instead of three different invoices.
  • You want to give a junior dev a connection string and have them productive in 5 minutes.
  • You want a real human to reply when something breaks at midnight.
Setup

From `composer create-project laravel/laravel` to deployed

1Deploy a database

Click "Create database" in the Swyftstack console. Copy the DATABASE_URL.

2Set .env

Map DB_HOST, DB_PORT, DB_DATABASE, DB_USERNAME, DB_PASSWORD, and DB_SSLMODE=require.

3Add S3 disk

Add a `swyftstack` disk in config/filesystems.php pointing at storage.swyftstack.com.

4Migrate & ship

`php artisan migrate` and deploy your app to Forge, Vapor, Render, or your own server - DATABASE_URL is the only variable that changes.

Setup

.env, config, php artisan migrate

Standard Laravel idioms - nothing exotic.

DB_CONNECTION=pgsql
DB_HOST=your.swyftstack.host
DB_PORT=5432
DB_DATABASE=your_db
DB_USERNAME=your_user
DB_PASSWORD=your_pass
DB_SSLMODE=require
Why Laravel teams choose us

What you get on day one

Every Swyftstack plan ships with the database, storage, backups, and observability you'd otherwise stitch together.

Real Postgres, no fork

PostgreSQL 16 straight from postgresql.org. No custom protocol, no proprietary driver. Whatever your ORM expects, just works.

Object storage included

Use Swyftstack's console, signed URLs, scoped credentials, and public object links. Full S3 gateway compatibility is on the roadmap.

47-second provisioning

Click "Create database". Get a connection string with SSL by default. No waiting room, no provisioning queue, no DNS to set up first.

Daily backups, tested restores

Encrypted daily backups with 7- or 30-day retention. Weekly automated restore drills - because untested backups aren't backups.

One bill, one platform

Database, storage, backups, and egress on a single invoice. No three-vendor accounting at the end of the quarter.

No vendor lock-in

Open standards on both ends. pg_dump and S3 export are first-class, even on the free tier. Move on whenever you want.

Frequently asked

Will Eloquent work without changes?

Yes. Standard PostgreSQL via pdo_pgsql - every Eloquent feature works.

Can I use queue jobs / Horizon?

Yes. Queue drivers (database, redis) are independent of the primary database connection.

Coming from MySQL?

Most Laravel apps move cleanly. Watch for case-sensitive identifiers and a few function-name differences. We can advise during migration.

Does Storage::disk('swyftstack') just work?

Yes - the disk is a normal S3 driver pointed at our endpoint with use_path_style_endpoint enabled. Storage::disk('swyftstack')->put(...) is all you write.

Is this real PostgreSQL or a fork?

Real PostgreSQL 16, straight from postgresql.org. We don't fork or modify the engine. pg_dump, psql, and any standard client work normally.

Where is my data stored?

US or EU - you pick at signup. Encrypted in transit and at rest. Backups are encrypted with separate keys.

Can I move off Swyftstack later?

Yes. PostgreSQL is standard Postgres, and bucket objects can be exported. Take a pg_dump or export your files anytime - we'll even help.

What happens if I outgrow the Starter plan?

Click upgrade. Same database, same connection string, more capacity. No downtime, no migration.

Do I need to manage SSL myself?

No. SSL is on by default, certificates are managed and auto-renewed. Standard rejectUnauthorized: true works out of the box.

Deploy a database for your Laravel app.

Launch offer: Starter at $9/mo for 2 months, then $19/mo.