page:blueprints:b2b saas:documentation site:laravel

B2B SaaS: Documentation Site Using Laravel

Summary

A documentation site blueprint for B2B SaaS built with Laravel on Ample. Domain schema:

Public information includes product documentation by version, pricing and plan comparison, status, and changelog. Kept out of scope until handling is reviewed are customer data inside workspaces, usage and billing records, and support attachments. Customer workspace data is tenant-scoped; isolation is application-enforced and no security certification is claimed.

Technical basis verified on Laravel:

Prerequisites

Infrastructure Requirements

Primitive ID Label Status Summary
primitive:compute Compute verified Apps run in isolated x86_64 Firecracker microVMs that auto-pause when idle and wake on request.
primitive:postgres Postgres verified Managed PostgreSQL 16 runs in its own microVM and is auto-provisioned when an app needs a database.
primitive:cdn CDN verified The CDN host serves objects from published buckets.

Workflow Steps

  1. Model the B2B SaaS domain: Create the tables customer_workspaces, workspace_members, doc_versions, customer_assets, state_transitions.
  2. Model versioned documents: with a state machine (draft, review, published) scoped to a product version.
  3. Publish assets: for released versions to the CDN bucket.
  4. Serve only published versions: publicly.
  5. Deploy: Run the synchronous deploy once and read the result.
  6. Verify: Run the pattern self-test(s) and your own acceptance checks for the B2B SaaS workflow.

Success Checks

Limitations