# itsdrsw/latihanlarapel architecture

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

- Interactive diagram: https://gitdiagram.com/itsdrsw/latihanlarapel
- Repository: https://github.com/itsdrsw/latihanlarapel

## Overview

This is a Laravel 12 starter web application, not the Laravel framework itself. Its visible product workflow is an HTTP request entering Laravel, being routed, and rendering the starter welcome page. The repository also scaffolds user persistence and configures framework services. The route and model implementations were not sampled, so their internal behavior and connections are represented only where the tree or configuration supports them.

Main entry points: [`config/database.php`](https://github.com/itsdrsw/latihanlarapel/blob/main/config/database.php) (Database config), [`public/index.php`](https://github.com/itsdrsw/latihanlarapel/blob/main/public/index.php) (HTTP entry), [`bootstrap/app.php`](https://github.com/itsdrsw/latihanlarapel/blob/main/bootstrap/app.php) (App bootstrap), [`routes/web.php`](https://github.com/itsdrsw/latihanlarapel/blob/main/routes/web.php) (Web routes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_request["HTTP request"]
  node_front["HTTP entry<br/>[index.php]"]
end

subgraph group_app["Application runtime"]
  node_bootstrap["App bootstrap<br/>[app.php]"]
  node_routes["Web routes<br/>[web.php]"]
  node_welcome["Welcome page<br/>[welcome.blade.php]"]
  node_framework["Laravel framework<br/>[composer.json]"]
end

subgraph group_data["Persistence"]
  node_user["User model<br/>[User.php]"]
  node_migrations["Schema migrations"]
  node_dbconfig["Database config<br/>[database.php]"]
end

subgraph group_services["Framework services"]
  node_authconfig["Auth config<br/>[auth.php]"]
  node_cacheconfig["Cache config<br/>[cache.php]"]
  node_sessionconfig["Session config<br/>[session.php]"]
  node_queueconfig["Queue config<br/>[queue.php]"]
  node_servicesconfig["Service credentials<br/>[services.php]"]
end

node_visitor(("Browser visitor"))
node_database[("Relational database")]

node_visitor -->|"sends request"| node_front
node_front -->|"bootstraps app"| node_bootstrap
node_bootstrap -->|"loads routes"| node_routes
node_routes -->|"renders view"| node_welcome
node_user -->|"uses connection"| node_dbconfig
node_migrations -->|"uses connection"| node_dbconfig
node_dbconfig -->|"configures access"| node_database
node_authconfig -->|"configures provider"| node_user

click node_front "https://github.com/itsdrsw/latihanlarapel/blob/main/public/index.php"
click node_bootstrap "https://github.com/itsdrsw/latihanlarapel/blob/main/bootstrap/app.php"
click node_routes "https://github.com/itsdrsw/latihanlarapel/blob/main/routes/web.php"
click node_welcome "https://github.com/itsdrsw/latihanlarapel/blob/main/resources/views/welcome.blade.php"
click node_user "https://github.com/itsdrsw/latihanlarapel/blob/main/app/Models/User.php"
click node_migrations "https://github.com/itsdrsw/latihanlarapel/tree/main/database/migrations"
click node_dbconfig "https://github.com/itsdrsw/latihanlarapel/blob/main/config/database.php"
click node_authconfig "https://github.com/itsdrsw/latihanlarapel/blob/main/config/auth.php"
click node_cacheconfig "https://github.com/itsdrsw/latihanlarapel/blob/main/config/cache.php"
click node_sessionconfig "https://github.com/itsdrsw/latihanlarapel/blob/main/config/session.php"
click node_queueconfig "https://github.com/itsdrsw/latihanlarapel/blob/main/config/queue.php"
click node_servicesconfig "https://github.com/itsdrsw/latihanlarapel/blob/main/config/services.php"
click node_framework "https://github.com/itsdrsw/latihanlarapel/blob/main/composer.json"

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_visitor toneBlue
class node_bootstrap,node_routes,node_welcome,node_framework,node_database toneAmber
class node_user,node_migrations,node_dbconfig toneMint
class node_authconfig,node_cacheconfig,node_sessionconfig,node_queueconfig,node_servicesconfig toneRose
```

## Components

### HTTP request

- [HTTP entry](https://github.com/itsdrsw/latihanlarapel/blob/main/public/index.php): `public/index.php`

### Application runtime

- [App bootstrap](https://github.com/itsdrsw/latihanlarapel/blob/main/bootstrap/app.php): `bootstrap/app.php`
- [Web routes](https://github.com/itsdrsw/latihanlarapel/blob/main/routes/web.php): `routes/web.php`
- [Welcome page](https://github.com/itsdrsw/latihanlarapel/blob/main/resources/views/welcome.blade.php): `resources/views/welcome.blade.php`
- [Laravel framework](https://github.com/itsdrsw/latihanlarapel/blob/main/composer.json): `composer.json`

### Persistence

- [User model](https://github.com/itsdrsw/latihanlarapel/blob/main/app/Models/User.php): `app/Models/User.php`
- [Schema migrations](https://github.com/itsdrsw/latihanlarapel/tree/main/database/migrations): `database/migrations`
- [Database config](https://github.com/itsdrsw/latihanlarapel/blob/main/config/database.php): `config/database.php`

### Framework services

- [Auth config](https://github.com/itsdrsw/latihanlarapel/blob/main/config/auth.php): `config/auth.php`
- [Cache config](https://github.com/itsdrsw/latihanlarapel/blob/main/config/cache.php): `config/cache.php`
- [Session config](https://github.com/itsdrsw/latihanlarapel/blob/main/config/session.php): `config/session.php`
- [Queue config](https://github.com/itsdrsw/latihanlarapel/blob/main/config/queue.php): `config/queue.php`
- [Service credentials](https://github.com/itsdrsw/latihanlarapel/blob/main/config/services.php): `config/services.php`

### Other components

- **Browser visitor**
- **Relational database**

## Connections

- Browser visitor → HTTP entry: sends request
- HTTP entry → App bootstrap: bootstraps app
- App bootstrap → Web routes: loads routes
- Web routes → Welcome page: renders view
- User model → Database config: uses connection
- Schema migrations → Database config: uses connection
- Database config → Relational database: configures access
- Auth config → User model: configures provider
