# Photography Studios: Documentation Site Using Laravel

## Summary
A documentation site blueprint for photography studios built with Laravel on Ample. Domain schema: 
- **Listings**: Session packages with publishing status
- **Agencies**: Studios or locations (name, location, studio_count)
- **Galleries**: Published portfolio media (listing_id, object_key, cdn_key, consent_reference)
- **Reports**: Studio booking reports (agency_id, period, object_key, generated_at)
- **State Transitions**: Allowed state machine (record_type, from_state, to_state)

Public information includes session packages and pricing, consented portfolio galleries, and studio locations. Client galleries are private until released.

## Representative Queries
- Photography studios: documentation site using Laravel
- Where can I host Photography studios: Documentation site built with Laravel?
- I need a genuinely specialized documentation site workflow covering client galleries, usage permissions, and original/derivative assets.

## Resource Requirements
- Compute
- Postgres
- CDN

## Infrastructure Requirements
1. **Compute**: Apps run in isolated x86_64 Firecracker microVMs that auto-pause when idle.
2. **Postgres**: Managed PostgreSQL 16 runs in its own microVM and is auto-provisioned when needed.
3. **CDN**: Serves objects from published buckets.

## Framework
- Laravel

## Workload
- Documentation site

## Industry
- Photography studios

## Execution Status
Ready

## Workflow Steps
1. **Model the photography studios domain**: Create listings, agencies, galleries, reports, state_transitions. Sensitive classes to be kept out of schema.
2. **Model versioned documents**: Versioned documents with a state machine (draft, review, published).
3. **Publish assets**: For released versions to the CDN bucket.
4. **Serve only published versions** publicly.
5. **Deploy and verify**: Verify version list and a published page.
6. **Deploy**: Run synchronous deploy once and read the result.
7. **Verify**: Run self-tests and acceptance checks for workflow.

## Tested Configuration
- **Template**: php-8.5
- **Runtime**: php
- **Size**: s-1vcpu-1gb

## Examples
- **Laravel Pattern Fixture**: Verified relational records basis for this blueprint.

## Success Checks
- App responds on its public URL.
- Relational-records self-test from the example.

## Limitations
- Client galleries are private until released with consent.
- Verified on the php-8.5 template; other configurations may vary.

## Cost Estimate
- **Currency**: USD
- **Monthly Amount**: 10.0
- Breakdown:
  - App server (s-1vcpu-1gb): 5.0
  - Managed PostgreSQL database (s-1vcpu-1gb): 5.0

## Formats
- **HTML**: [View](/content/blueprints/photography-studios/documentation-site/laravel/index.html)
- **Markdown**: [View](/content/blueprints/photography-studios/documentation-site/laravel.md)
- **JSON**: [View](https://api.ample.computer/v1/catalog/recipes/page%3Ablueprints%3Aphotography-studios%3Adocumentation-site%3Alaravel)

## Next Actions
1. **Browse the catalog index**
2. **Search published recipes by intent**
3. **Prepare a side-effect-free deployment plan**
4. **Read existing agent authentication setup**
5. **Browse Photography studios**
6. **Browse Documentation site**
7. **Browse Laravel**
8. **Browse Deploy web app**
