# ftzarqa/sistem-venue-lapangan-olahraga architecture

> Architecture diagram of the GitHub repository ftzarqa/sistem-venue-lapangan-olahraga, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ftzarqa/sistem-venue-lapangan-olahraga
- Repository: https://github.com/ftzarqa/sistem-venue-lapangan-olahraga

## Overview

This is a Laravel web application for managing match events and ticket stock, with public ticket/event pages, administrator event management, and user accounts. A request enters Laravel’s web routing, then reaches the relevant controller, which renders a view or works with the event/user models. Authentication also covers registration and email verification; profile editing and account deletion are separate user functions. Relationships are limited to those visible in excerpts or the source index; some route targets and the ticket flow are only indexed, not excerpted.

Main entry points: [`routes/web.php`](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/routes/web.php) (Web routes), [`routes/auth.php`](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/routes/auth.php) (Auth routes), [`app/Http/Controllers/Admin/EventController.php`](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/Admin/EventController.php) (Event management), [`app/Http/Controllers/TiketController.php`](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/TiketController.php) (Ticket page handler)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Web entry and routing"]
  node_front["HTTP entry<br/>[index.php]"]
  node_bootstrap["App bootstrap<br/>[app.php]"]
  node_web_routes["Web routes<br/>[web.php]"]
  node_auth_routes["Auth routes<br/>[auth.php]"]
end

subgraph group_events["Events and tickets"]
  node_event_admin["Event management"]
  node_ticket_page["Ticket page handler"]
  node_event_model["Event records<br/>[Event.php]"]
  node_event_store[("Event data store")]
end

subgraph group_accounts["Accounts and access"]
  node_admin_auth["Admin sign-in"]
  node_registration["Registration"]
  node_user_auth["User sessions"]
  node_verification["Email verification"]
  node_profile["Profile management"]
  node_user_model["User records<br/>[User.php]"]
end

subgraph group_presentation["Web views"]
  node_event_views["Event admin views"]
  node_ticket_view["Ticket view<br/>[show.blade.php]"]
  node_account_views["Account views"]
  node_profile_views["Profile views"]
  node_admin_login_view["Admin login view<br/>[login.blade.php]"]
end

node_visitor(("Visitor or user"))

node_visitor -->|"sends request"| node_front
node_front -->|"boots app"| node_bootstrap
node_bootstrap -->|"loads routes"| node_web_routes
node_web_routes -->|"includes routes"| node_auth_routes
node_web_routes -->|"routes requests"| node_event_admin
node_web_routes -->|"routes requests"| node_ticket_page
node_web_routes -->|"routes requests"| node_admin_auth
node_web_routes -->|"routes requests"| node_profile
node_auth_routes -->|"routes sessions"| node_user_auth
node_auth_routes -->|"routes registration"| node_registration
node_auth_routes -->|"routes verification"| node_verification
node_event_admin -->|"reads and writes"| node_event_model
node_ticket_page -->|"uses events"| node_event_model
node_event_model -.->|"persists records"| node_event_store
node_registration -->|"creates user"| node_user_model
node_profile -.->|"updates account"| node_user_model
node_event_admin -->|"renders views"| node_event_views
node_ticket_page -.->|"renders view"| node_ticket_view
node_registration -->|"renders view"| node_account_views
node_user_auth -->|"renders view"| node_account_views
node_profile -->|"renders profile"| node_profile_views
node_admin_auth -->|"renders view"| node_admin_login_view

click node_front "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/public/index.php"
click node_bootstrap "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/bootstrap/app.php"
click node_web_routes "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/routes/web.php"
click node_auth_routes "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/routes/auth.php"
click node_event_admin "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/Admin/EventController.php"
click node_ticket_page "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/TiketController.php"
click node_event_model "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Models/Event.php"
click node_admin_auth "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/Admin/AdminAuthController.php"
click node_registration "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/Auth/RegisteredUserController.php"
click node_user_auth "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/Auth/AuthenticatedSessionController.php"
click node_verification "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/Auth/VerifyEmailController.php"
click node_profile "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/ProfileController.php"
click node_user_model "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Models/User.php"
click node_event_views "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/tree/main/resources/views/admin/events"
click node_ticket_view "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/resources/views/tiket/show.blade.php"
click node_account_views "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/tree/main/resources/views/auth"
click node_profile_views "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/tree/main/resources/views/profile"
click node_admin_login_view "https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/resources/views/admin/login.blade.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_front,node_bootstrap,node_web_routes,node_auth_routes,node_visitor toneBlue
class node_event_admin,node_ticket_page,node_event_model,node_event_store toneAmber
class node_admin_auth,node_registration,node_user_auth,node_verification,node_profile,node_user_model toneMint
class node_event_views,node_ticket_view,node_account_views,node_profile_views,node_admin_login_view toneRose
```

## Components

### Web entry and routing

- [HTTP entry](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/public/index.php): `public/index.php`
- [App bootstrap](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/bootstrap/app.php): `bootstrap/app.php`
- [Web routes](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/routes/web.php): `routes/web.php`
- [Auth routes](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/routes/auth.php): `routes/auth.php`

### Events and tickets

- [Event management](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/Admin/EventController.php): `app/Http/Controllers/Admin/EventController.php`
- [Ticket page handler](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/TiketController.php): `app/Http/Controllers/TiketController.php`
- [Event records](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Models/Event.php): `app/Models/Event.php`
- **Event data store**

### Accounts and access

- [Admin sign-in](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/Admin/AdminAuthController.php): `app/Http/Controllers/Admin/AdminAuthController.php`
- [Registration](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/Auth/RegisteredUserController.php): `app/Http/Controllers/Auth/RegisteredUserController.php`
- [User sessions](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/Auth/AuthenticatedSessionController.php): `app/Http/Controllers/Auth/AuthenticatedSessionController.php`
- [Email verification](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/Auth/VerifyEmailController.php): `app/Http/Controllers/Auth/VerifyEmailController.php`
- [Profile management](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Http/Controllers/ProfileController.php): `app/Http/Controllers/ProfileController.php`
- [User records](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/app/Models/User.php): `app/Models/User.php`

### Web views

- [Event admin views](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/tree/main/resources/views/admin/events): `resources/views/admin/events`
- [Ticket view](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/resources/views/tiket/show.blade.php): `resources/views/tiket/show.blade.php`
- [Account views](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/tree/main/resources/views/auth): `resources/views/auth`
- [Profile views](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/tree/main/resources/views/profile): `resources/views/profile`
- [Admin login view](https://github.com/ftzarqa/sistem-venue-lapangan-olahraga/blob/main/resources/views/admin/login.blade.php): `resources/views/admin/login.blade.php`

### Other components

- **Visitor or user**

## Connections

- Visitor or user → HTTP entry: sends request
- HTTP entry → App bootstrap: boots app (evidence: `public/index.php`)
- App bootstrap → Web routes: loads routes (evidence: `bootstrap/app.php`)
- Web routes → Auth routes: includes routes (evidence: `routes/web.php`)
- Web routes → Event management: routes requests (evidence: `routes/web.php`)
- Web routes → Ticket page handler: routes requests (evidence: `routes/web.php`)
- Web routes → Admin sign-in: routes requests (evidence: `routes/web.php`)
- Web routes → Profile management: routes requests (evidence: `routes/web.php`)
- Auth routes → User sessions: routes sessions (evidence: `routes/auth.php`)
- Auth routes → Registration: routes registration (evidence: `routes/auth.php`)
- Auth routes → Email verification: routes verification (evidence: `routes/auth.php`)
- Event management → Event records: reads and writes (evidence: `app/Http/Controllers/Admin/EventController.php`)
- Ticket page handler → Event records: uses events (evidence: `app/Http/Controllers/TiketController.php`)
- Event records → Event data store: persists records
- Registration → User records: creates user (evidence: `app/Http/Controllers/Auth/RegisteredUserController.php`)
- Profile management → User records: updates account
- Event management → Event admin views: renders views (evidence: `app/Http/Controllers/Admin/EventController.php`)
- Ticket page handler → Ticket view: renders view
- Registration → Account views: renders view (evidence: `app/Http/Controllers/Auth/RegisteredUserController.php`)
- User sessions → Account views: renders view (evidence: `app/Http/Controllers/Auth/AuthenticatedSessionController.php`)
- Profile management → Profile views: renders profile (evidence: `app/Http/Controllers/ProfileController.php`)
- Admin sign-in → Admin login view: renders view (evidence: `app/Http/Controllers/Admin/AdminAuthController.php`)
