page:blueprints:creator businesses:asset library:laravel

Creator businesses: asset library using Laravel

Summary

A asset library blueprint for creator businesses built with Laravel on Ample. Domain schema:

Public information: free content and previews, membership tiers, creator profile. Kept out of scope until handling is reviewed: member identity and payment status, private community posts. Member payment status comes from your payment provider; it is not modeled here and no PCI claim is made.

Resource Requirements

Infrastructure Requirements

Prerequisites

  1. A Laravel project (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)
  2. A PostgreSQL driver reading DATABASE_URL (auto-provisioned when omitted)
  3. Bucket credentials from ample bucket create passed as encrypted S3_* environment variables
  4. A review of which creator businesses data classes may be handled at all; this blueprint models public information only

Workflow Steps

  1. Model the creator businesses domain: Create the tables customer_workspaces, content_items, customer_assets, releases, uploads. Member accounts or communities live in customer_workspaces; keep the sensitive classes out of this schema.
  2. Model assets linked to their owning group or workspace
  3. Validate uploads and store them in the private bucket; link each object to its row
  4. Authorize downloads by membership
  5. Deploy: Run the synchronous deploy once and read the result. Re-running with no change is a no-op.
  6. Verify: Run the pattern self-test(s) from the example (/p/browser-file-uploads) and your own acceptance checks for the creator businesses workflow.

Success Checks

Limitations

Cost Estimate

Evidence Summary