# celvicanthony/likhaspace-laravel-static architecture

> Architecture diagram of the GitHub repository celvicanthony/likhaspace-laravel-static, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/celvicanthony/likhaspace-laravel-static
- Repository: https://github.com/celvicanthony/likhaspace-laravel-static

## Overview

LikhaSpace is a Laravel digital-art marketplace for buyers, artists, and administrators. Buyers discover approved artwork, create carts and artist-separated orders, submit payment proof, then download delivered files; artists manage portfolios, orders, and commission remittances, while administrators review artwork, payments, users, and payouts. The graph shows those distinct domain stages and the Eloquent data layer. Several controller excerpts are partial and many views are unsampled, so unverified internal links are omitted; the README supplies documented workflow details.

Main entry points: [`routes/web.php`](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/routes/web.php) (Web routes), [`app/Http/Controllers/CommissionSettlementController.php`](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/CommissionSettlementController.php) (Commission settlements), [`app/Models/Order.php`](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Models/Order.php) (Orders and items), [`app/Http/Controllers/OrderController.php`](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/OrderController.php) (Cart and checkout)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Marketplace experience"]
  node_web_routes["Web routes<br/>[web.php]"]
  node_catalog["Artwork discovery<br/>[explore.blade.php]"]
  node_artist_portfolio["Artist portfolio<br/>[show.blade.php]"]
  node_artwork_management["Artwork management"]
end

subgraph group_commerce["Orders and fulfillment"]
  node_cart_checkout["Cart and checkout"]
  node_buyer_orders["Buyer orders and downloads<br/>[show.blade.php]"]
  node_artist_fulfillment["Artist order fulfillment<br/>[orders.blade.php]"]
  node_payment_flow["Payment proof review"]
end

subgraph group_admin["Administration and accounting"]
  node_admin_reviews["Artwork and user review"]
  node_commission["Commission settlements"]
  node_platform_payout["Platform payout settings"]
end

subgraph group_identity["Accounts and profiles"]
  node_auth["Authentication<br/>[AuthController.php]"]
  node_profile["Profiles and payment details"]
end

subgraph group_data["Domain data and support"]
  node_users[("Users and profiles<br/>[User.php]")]
  node_artworks[("Artwork and reviews<br/>[Artwork.php]")]
  node_orders[("Orders and items<br/>[Order.php]")]
  node_commission_records[("Commission records")]
  node_artist_payment_settings[("Artist payment settings")]
  node_platform_settings[("Platform payout settings")]
  node_public_ids["Public ID allocation<br/>[HasPublicId.php]"]
  node_private_images["Private image responses"]
  node_payment_qr["Artist payment QR"]
  node_payout_image["Payout image handling"]
end

node_buyer(("Buyer"))
node_artist(("Artist"))
node_admin_actor(("Administrator"))

node_buyer -->|"browses and orders"| node_web_routes
node_artist -->|"manages sales"| node_web_routes
node_admin_actor -->|"administers"| node_web_routes
node_web_routes -->|"routes requests"| node_auth
node_web_routes -->|"routes requests"| node_artwork_management
node_web_routes -->|"routes requests"| node_cart_checkout
node_web_routes -->|"routes requests"| node_profile
node_web_routes -->|"routes requests"| node_commission
node_web_routes -->|"routes requests"| node_platform_payout
node_web_routes -->|"routes requests"| node_admin_reviews
node_buyer -->|"discovers artwork"| node_catalog
node_buyer -->|"views portfolios"| node_artist_portfolio
node_cart_checkout -->|"loads available art"| node_artworks
node_cart_checkout -->|"creates artist orders"| node_orders
node_cart_checkout -->|"shows order"| node_buyer_orders
node_buyer_orders -->|"reads order details"| node_orders
node_artist_fulfillment -->|"fulfills orders"| node_orders
node_payment_flow -->|"records payment state"| node_orders
node_artwork_management -->|"manages submissions"| node_artworks
node_profile -->|"updates profile"| node_users
node_profile -->|"saves payout details"| node_artist_payment_settings
node_profile -->|"uses QR helper"| node_payment_qr
node_auth -->|"authenticates accounts"| node_users
node_admin_reviews -.->|"reviews submissions"| node_artworks
node_commission -->|"calculates commission due"| node_orders
node_commission -->|"submits and reviews"| node_commission_records
node_commission -->|"loads payout settings"| node_platform_settings
node_commission -->|"formats payout image"| node_payout_image
node_commission -->|"serves private proof"| node_private_images
node_platform_payout -->|"updates settings"| node_platform_settings
node_platform_payout -->|"handles payout image"| node_payout_image
node_platform_payout -->|"serves protected images"| node_private_images
node_users -->|"allocates public ID"| node_public_ids
node_artworks -->|"allocates public ID"| node_public_ids
node_orders -->|"allocates public ID"| node_public_ids

click node_web_routes "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/routes/web.php"
click node_catalog "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/resources/views/explore.blade.php"
click node_artist_portfolio "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/resources/views/artists/show.blade.php"
click node_artwork_management "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/ArtworkController.php"
click node_auth "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/AuthController.php"
click node_profile "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/ProfileController.php"
click node_cart_checkout "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/OrderController.php"
click node_buyer_orders "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/resources/views/transactions/show.blade.php"
click node_artist_fulfillment "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/resources/views/artist/orders.blade.php"
click node_payment_flow "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/OrderController.php"
click node_admin_reviews "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/AdminUserController.php"
click node_commission "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/CommissionSettlementController.php"
click node_platform_payout "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/PlatformPayoutController.php"
click node_users "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Models/User.php"
click node_artworks "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Models/Artwork.php"
click node_orders "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Models/Order.php"
click node_commission_records "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Models/ArtistCommissionPayment.php"
click node_artist_payment_settings "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Models/ArtistPaymentSetting.php"
click node_platform_settings "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Models/PlatformPayoutSetting.php"
click node_public_ids "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Support/HasPublicId.php"
click node_private_images "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Support/PrivateImageResponse.php"
click node_payment_qr "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Support/ArtistPaymentQr.php"
click node_payout_image "https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Support/PlatformPayoutImage.php"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_web_routes,node_catalog,node_artist_portfolio,node_artwork_management toneBlue
class node_cart_checkout,node_buyer_orders,node_artist_fulfillment,node_payment_flow toneAmber
class node_admin_reviews,node_commission,node_platform_payout toneMint
class node_auth,node_profile toneRose
class node_users,node_artworks,node_orders,node_commission_records,node_artist_payment_settings,node_platform_settings,node_public_ids,node_private_images,node_payment_qr,node_payout_image,node_buyer,node_artist,node_admin_actor toneIndigo
```

## Components

### Marketplace experience

- [Web routes](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/routes/web.php): `routes/web.php`
- [Artwork discovery](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/resources/views/explore.blade.php): `resources/views/explore.blade.php`
- [Artist portfolio](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/resources/views/artists/show.blade.php): `resources/views/artists/show.blade.php`
- [Artwork management](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/ArtworkController.php): `app/Http/Controllers/ArtworkController.php`

### Orders and fulfillment

- [Cart and checkout](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/OrderController.php): `app/Http/Controllers/OrderController.php`
- [Buyer orders and downloads](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/resources/views/transactions/show.blade.php): `resources/views/transactions/show.blade.php`
- [Artist order fulfillment](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/resources/views/artist/orders.blade.php): `resources/views/artist/orders.blade.php`
- [Payment proof review](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/OrderController.php): `app/Http/Controllers/OrderController.php`

### Administration and accounting

- [Artwork and user review](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/AdminUserController.php): `app/Http/Controllers/AdminUserController.php`
- [Commission settlements](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/CommissionSettlementController.php): `app/Http/Controllers/CommissionSettlementController.php`
- [Platform payout settings](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/PlatformPayoutController.php): `app/Http/Controllers/PlatformPayoutController.php`

### Accounts and profiles

- [Authentication](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/AuthController.php): `app/Http/Controllers/AuthController.php`
- [Profiles and payment details](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Http/Controllers/ProfileController.php): `app/Http/Controllers/ProfileController.php`

### Domain data and support

- [Users and profiles](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Models/User.php): `app/Models/User.php`
- [Artwork and reviews](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Models/Artwork.php): `app/Models/Artwork.php`
- [Orders and items](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Models/Order.php): `app/Models/Order.php`
- [Commission records](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Models/ArtistCommissionPayment.php): `app/Models/ArtistCommissionPayment.php`
- [Artist payment settings](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Models/ArtistPaymentSetting.php): `app/Models/ArtistPaymentSetting.php`
- [Platform payout settings](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Models/PlatformPayoutSetting.php): `app/Models/PlatformPayoutSetting.php`
- [Public ID allocation](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Support/HasPublicId.php): `app/Support/HasPublicId.php`
- [Private image responses](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Support/PrivateImageResponse.php): `app/Support/PrivateImageResponse.php`
- [Artist payment QR](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Support/ArtistPaymentQr.php): `app/Support/ArtistPaymentQr.php`
- [Payout image handling](https://github.com/celvicanthony/likhaspace-laravel-static/blob/main/app/Support/PlatformPayoutImage.php): `app/Support/PlatformPayoutImage.php`

### Other components

- **Buyer**
- **Artist**
- **Administrator**

## Connections

- Buyer → Web routes: browses and orders
- Artist → Web routes: manages sales
- Administrator → Web routes: administers
- Web routes → Authentication: routes requests (evidence: `routes/web.php`)
- Web routes → Artwork management: routes requests (evidence: `routes/web.php`)
- Web routes → Cart and checkout: routes requests (evidence: `routes/web.php`)
- Web routes → Profiles and payment details: routes requests (evidence: `routes/web.php`)
- Web routes → Commission settlements: routes requests (evidence: `routes/web.php`)
- Web routes → Platform payout settings: routes requests (evidence: `routes/web.php`)
- Web routes → Artwork and user review: routes requests (evidence: `routes/web.php`)
- Buyer → Artwork discovery: discovers artwork
- Buyer → Artist portfolio: views portfolios
- Cart and checkout → Artwork and reviews: loads available art (evidence: `app/Http/Controllers/OrderController.php`)
- Cart and checkout → Orders and items: creates artist orders (evidence: `app/Http/Controllers/OrderController.php`)
- Cart and checkout → Buyer orders and downloads: shows order (evidence: `app/Http/Controllers/OrderController.php`)
- Buyer orders and downloads → Orders and items: reads order details
- Artist order fulfillment → Orders and items: fulfills orders
- Payment proof review → Orders and items: records payment state (evidence: `app/Http/Controllers/OrderController.php`)
- Artwork management → Artwork and reviews: manages submissions (evidence: `app/Http/Controllers/ArtworkController.php`)
- Profiles and payment details → Users and profiles: updates profile (evidence: `app/Http/Controllers/ProfileController.php`)
- Profiles and payment details → Artist payment settings: saves payout details (evidence: `app/Http/Controllers/ProfileController.php`)
- Profiles and payment details → Artist payment QR: uses QR helper (evidence: `app/Http/Controllers/ProfileController.php`)
- Authentication → Users and profiles: authenticates accounts (evidence: `app/Http/Controllers/AuthController.php`)
- Artwork and user review → Artwork and reviews: reviews submissions
- Commission settlements → Orders and items: calculates commission due (evidence: `app/Http/Controllers/CommissionSettlementController.php`)
- Commission settlements → Commission records: submits and reviews (evidence: `app/Http/Controllers/CommissionSettlementController.php`)
- Commission settlements → Platform payout settings: loads payout settings (evidence: `app/Http/Controllers/CommissionSettlementController.php`)
- Commission settlements → Payout image handling: formats payout image (evidence: `app/Http/Controllers/CommissionSettlementController.php`)
- Commission settlements → Private image responses: serves private proof (evidence: `app/Http/Controllers/CommissionSettlementController.php`)
- Platform payout settings → Platform payout settings: updates settings (evidence: `app/Http/Controllers/PlatformPayoutController.php`)
- Platform payout settings → Payout image handling: handles payout image (evidence: `app/Http/Controllers/PlatformPayoutController.php`)
- Platform payout settings → Private image responses: serves protected images (evidence: `app/Http/Controllers/PlatformPayoutController.php`)
- Users and profiles → Public ID allocation: allocates public ID (evidence: `app/Models/User.php`)
- Artwork and reviews → Public ID allocation: allocates public ID (evidence: `app/Models/Artwork.php`)
- Orders and items → Public ID allocation: allocates public ID (evidence: `app/Models/Order.php`)
