page:recipes:community forum:laravel:tenant workspaces

Host community forum with Laravel: tenant-scoped workspaces

Summary

Deploy a community forum built with Laravel on Ample using the multi-tenant relational data pattern. Compute runs the app in an isolated microVM behind a public HTTPS URL, a managed PostgreSQL 16 database is auto-provisioned and injected as DATABASE_URL. Verified on Laravel: a tenant column on every row and query, with a cross-tenant read returning nothing (tenant_isolation=ok). Not separately tested: your tenant model, membership and per-tenant authorization; treat the community forum-specific behavior as your application code.

Representative Queries

Resource Requirements

Infrastructure Requirements

  1. Compute
    • Status: verified
    • Summary: Apps run in isolated x86_64 Firecracker microVMs that auto-pause when idle and wake on request; sizes are the priced VM sizes.
  2. Postgres
    • Status: verified
    • Summary: Managed PostgreSQL 16 runs in its own microVM and is auto-provisioned when an app needs a database and no DATABASE_URL is supplied.

Framework

Laravel

Workload

Community forum

Release Status

Published

Support Status

Verified

Execution Status

Ready

Prerequisites

Tested Configuration

Input Schema

Workflow Steps

  1. Build and start
    • Command: composer install --no-dev from composer.lock, then FrankenPHP serving public/ (php-server with the index.php fallback) reading PORT on the php-8.5 template. The server must bind 0.0.0.0 on PORT.
  2. Implement the pattern on PostgreSQL
    • Command: Copy the approach into your schema; keep migrations idempotent and run them with --release-command.
  3. Deploy
    • Command: ample deploy . --name --public
  4. Verify
    • Command: ample logs --kind build

Examples

Success Checks

  1. App responds on its public URL
    • Path: /
  2. Multi-tenant-relational-data self-test
    • Path: /p/multi-tenant-relational-data

Limitations

Cost Estimate

Evidence Summary

Last Verified At

2026-09-20T20:36:21Z

MCP Binding

Unknowns

Formats

Next Actions

  1. Browse the catalog index
    • Method: GET
  2. Search published recipes
    • Method: POST
  3. Prepare a side-effect-free deployment plan
    • Method: POST
  4. Read the existing agent authentication setup
    • Method: GET
  5. Browse Community forum
    • Method: GET
  6. Browse Laravel
    • Method: GET
  7. Browse Multi-tenant relational data
    • Method: GET
  8. Browse Deploy web app
    • Method: GET