page:blueprints:law firms:form collection:laravel

Law firms: Form collection using Laravel

Summary

A form collection blueprint for law firms built with Laravel on Ample. Domain schema:

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.
  3. S3-compatible object storage
    • Status: verified
    • Summary: Buckets are S3-compatible with issued credentials; PutObject and GetObject are verified by canary. Other S3 operations are not verified.

Workflow Steps

  1. Model the law firms domain
    • Create the tables client_entities, matters, document_requests, shared_documents, uploads. Clients with conflict-check status lives in client_entities; keep the sensitive classes (privileged communications and case files, identity and financial documents, opposing-party information) out of this schema.
  2. Workflow step 1
    • Model document requests per engagement with due dates and status
  3. Workflow step 2
    • Validate uploaded files (type, size) before storing them in the private bucket and linking them to the request
  4. Workflow step 3
    • Authorize uploads by client entity
  5. Workflow step 4
    • Deploy and verify rejection of disallowed files and a linked upload
  6. Deploy
    • Run the synchronous deploy once and read the result. Re-running with no change is a no-op.
    • Command: ample deploy . --name --public --env S3_ENDPOINT=... --env S3_REGION=... --env S3_BUCKET=... --env S3_ACCESS_KEY_ID=... --env S3_SECRET_ACCESS_KEY=...
  7. Verify
    • Run the pattern self-test(s) from the example (/p/browser-file-uploads) and your own acceptance checks for the law firms workflow.
    • Command: ample logs --kind build

Examples

Success Checks

  1. Application responds on its public URL
    • Kind: http_get
    • Path: /
    • Expect: ample canary laravel patterns
  2. Browser-file-uploads self-test from the example
    • Kind: http_get
    • Path: /p/browser-file-uploads
    • Expect: see the pattern fixture checks

Limitations

Cost Estimate

Evidence Summary

Last Verified At

2026-09-20T20:36:21Z

Next Actions

  1. Browse the catalog index
    • Action ID: browse-catalog
    • Operation ID: catalog_index
    • Method: GET
    • Relative Path: /v1/catalog
    • Requires Authentication: false
    • Requires Approval: false
  2. Search published recipes by intent, stack and constraints
    • Action ID: search-recipes
    • Operation ID: search_recipes
    • Method: POST
    • Relative Path: /v1/catalog/search
    • Parameters:
      • Body:
        • Limit: 5
        • Query: Law firms: form collection using Laravel
    • Requires Authentication: false
    • Requires Approval: false
  3. Prepare a side-effect-free deployment plan for an authorized project
    • Action ID: plan:page:blueprints:law-firms:form-collection:laravel
    • Operation ID: plan_deployment
    • Method: POST
    • Relative Path: /v1/catalog/plan
    • Parameters:
      • Body:
        • Inputs: {}
        • Project ID: ""
        • Recipe ID: page:blueprints:law-firms:form-collection:laravel
        • Recipe Revision: r1
    • Requires Authentication: true
    • Requires Approval: false
  4. Read the existing agent authentication setup
    • Action ID: auth-setup
    • Operation ID: existing_auth_setup
    • Method: GET
    • Relative Path: /mcp/setup
    • Requires Authentication: false
    • Requires Approval: false
  5. Browse Law firms
    • Action ID: browse:industry:law-firms
    • Operation ID: browse_node
    • Method: GET
    • Relative Path: /v1/catalog/nodes/industry%3Alaw-firms
    • Parameters:
      • Node ID: industry:law-firms
    • Requires Authentication: false
    • Requires Approval: false
  6. Browse Form collection
    • Action ID: browse:workload:form-collection
    • Operation ID: browse_node
    • Method: GET
    • Relative Path: /v1/catalog/nodes/workload%3Aform-collection
    • Parameters:
      • Node ID: workload:form-collection
    • Requires Authentication: false
    • Requires Approval: false
  7. Browse Laravel
    • Action ID: browse:stack:framework-laravel
    • Operation ID: browse_node
    • Method: GET
    • Relative Path: /v1/catalog/nodes/stack%3Aframework-laravel
    • Parameters:
      • Node ID: stack:framework-laravel
    • Requires Authentication: false
    • Requires Approval: false
  8. Browse Deploy web app
    • Action ID: browse:intent:deploy-web-app
    • Operation ID: browse_node
    • Method: GET
    • Relative Path: /v1/catalog/nodes/intent%3Adeploy-web-app
    • Parameters:
      • Node ID: intent:deploy-web-app
    • Requires Authentication: false
    • Requires Approval: false