# akbarbintangm/full-pmms-truespicesindonesia architecture

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

- Interactive diagram: https://gitdiagram.com/akbarbintangm/full-pmms-truespicesindonesia
- Repository: https://github.com/akbarbintangm/full-pmms-truespicesindonesia

## Overview

This appears to be a Laravel production and warehouse operations application: users work with production-line records and processing stages, manage inventory and shipments, and generate reports. The sampled controllers show direct database queries and history logging, while the tree identifies additional production, master-data, warehouse, and reporting areas. The README is Laravel boilerplate rather than product documentation; unsampled capabilities and routing links are therefore represented cautiously, and the source excerpts do not establish a complete end-to-end workflow.

Main entry points: [`routes/web.php`](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/routes/web.php) (Web routes), [`app/Http/Controllers/CuttingController.php`](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/CuttingController.php) (Cutting stage), [`app/Http/Controllers/UltravioletController.php`](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/UltravioletController.php) (UV stage), [`app/Http/Controllers/ShareLineController.php`](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/ShareLineController.php) (Line sharing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Web entry"]
  node_front["HTTP entry<br/>[index.php]"]
  node_bootstrap["App bootstrap<br/>[app.php]"]
  node_httpkernel["HTTP kernel<br/>[Kernel.php]"]
  node_routes["Web routes<br/>[web.php]"]
end

subgraph group_operations["Production operations"]
  node_shareline["Line sharing"]
  node_cutting["Cutting stage"]
  node_ultraviolet["UV stage"]
  node_production["Production records"]
  node_sorting["Sorting stage"]
  node_cracking["Cracking stage"]
end

subgraph group_warehouse["Warehouse and reports"]
  node_shipment["Shipment handling"]
  node_authority["Product authority"]
  node_reports["Report exports"]
  node_warehouseview["Authority view"]
end

subgraph group_access["Access and administration"]
  node_history["Activity history<br/>[History.php]"]
  node_login["Login"]
  node_users["User accounts<br/>[User.php]"]
  node_masters["Operational masters<br/>[Line.php]"]
end

node_operator(("Operator"))
node_database[("Application database")]

node_operator -->|"sends request"| node_front
node_front -->|"loads app"| node_bootstrap
node_bootstrap -->|"binds kernel"| node_httpkernel
node_httpkernel -.->|"routes requests"| node_routes
node_routes -.->|"dispatches to"| node_shareline
node_routes -.->|"dispatches to"| node_cutting
node_routes -.->|"dispatches to"| node_ultraviolet
node_routes -.->|"dispatches to"| node_production
node_routes -.->|"dispatches to"| node_sorting
node_routes -.->|"dispatches to"| node_cracking
node_routes -.->|"dispatches to"| node_shipment
node_routes -.->|"dispatches to"| node_authority
node_shareline -->|"queries and updates"| node_database
node_cutting -->|"queries and updates"| node_database
node_ultraviolet -->|"queries and updates"| node_database
node_cutting -->|"uses model"| node_cracking
node_cutting -->|"uses model"| node_sorting
node_shareline -->|"uses model"| node_ultraviolet
node_ultraviolet -->|"uses model"| node_sorting
node_ultraviolet -->|"uses model"| node_cutting
node_routes -.->|"dispatches to"| node_login
node_login -->|"checks credentials"| node_users
node_login -->|"reads and logs"| node_database
node_login -.->|"records activity"| node_history
node_routes -.->|"renders view"| node_warehouseview
node_authority -.->|"exports reports"| node_reports
node_authority -.->|"reads records"| node_database
node_warehouseview -.->|"reads data"| node_database
node_shareline -->|"uses line model"| node_masters

click node_front "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/public/index.php"
click node_bootstrap "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/bootstrap/app.php"
click node_httpkernel "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Kernel.php"
click node_routes "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/routes/web.php"
click node_shareline "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/ShareLineController.php"
click node_cutting "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/CuttingController.php"
click node_ultraviolet "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/UltravioletController.php"
click node_production "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/ProductionController.php"
click node_sorting "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/SortingController.php"
click node_cracking "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/CrackingController.php"
click node_shipment "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/ShipmentController.php"
click node_authority "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/AuthorityProductController.php"
click node_reports "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Exports/AuthorityProductReports.php"
click node_history "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Models/History.php"
click node_login "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/Auth/LoginController.php"
click node_users "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Models/User.php"
click node_masters "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Models/Line.php"
click node_warehouseview "https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/resources/views/warehouse/authority-product.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_httpkernel,node_routes toneBlue
class node_shareline,node_cutting,node_ultraviolet,node_production,node_sorting,node_cracking,node_database toneAmber
class node_shipment,node_authority,node_reports,node_warehouseview toneMint
class node_history,node_login,node_users,node_masters toneRose
class node_operator toneIndigo
```

## Components

### Web entry

- [HTTP entry](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/public/index.php): `public/index.php`
- [App bootstrap](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/bootstrap/app.php): `bootstrap/app.php`
- [HTTP kernel](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Kernel.php): `app/Http/Kernel.php`
- [Web routes](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/routes/web.php): `routes/web.php`

### Production operations

- [Line sharing](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/ShareLineController.php): `app/Http/Controllers/ShareLineController.php`
- [Cutting stage](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/CuttingController.php): `app/Http/Controllers/CuttingController.php`
- [UV stage](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/UltravioletController.php): `app/Http/Controllers/UltravioletController.php`
- [Production records](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/ProductionController.php): `app/Http/Controllers/ProductionController.php`
- [Sorting stage](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/SortingController.php): `app/Http/Controllers/SortingController.php`
- [Cracking stage](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/CrackingController.php): `app/Http/Controllers/CrackingController.php`

### Warehouse and reports

- [Shipment handling](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/ShipmentController.php): `app/Http/Controllers/ShipmentController.php`
- [Product authority](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/AuthorityProductController.php): `app/Http/Controllers/AuthorityProductController.php`
- [Report exports](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Exports/AuthorityProductReports.php): `app/Exports/AuthorityProductReports.php`
- [Authority view](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/resources/views/warehouse/authority-product.blade.php): `resources/views/warehouse/authority-product.blade.php`

### Access and administration

- [Activity history](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Models/History.php): `app/Models/History.php`
- [Login](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Http/Controllers/Auth/LoginController.php): `app/Http/Controllers/Auth/LoginController.php`
- [User accounts](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Models/User.php): `app/Models/User.php`
- [Operational masters](https://github.com/akbarbintangm/full-pmms-truespicesindonesia/blob/main/app/Models/Line.php): `app/Models/Line.php`

### Other components

- **Operator**
- **Application database**

## Connections

- Operator → HTTP entry: sends request (evidence: `public/index.php`)
- HTTP entry → App bootstrap: loads app (evidence: `public/index.php`)
- App bootstrap → HTTP kernel: binds kernel (evidence: `bootstrap/app.php`)
- HTTP kernel → Web routes: routes requests
- Web routes → Line sharing: dispatches to
- Web routes → Cutting stage: dispatches to
- Web routes → UV stage: dispatches to
- Web routes → Production records: dispatches to
- Web routes → Sorting stage: dispatches to
- Web routes → Cracking stage: dispatches to
- Web routes → Shipment handling: dispatches to
- Web routes → Product authority: dispatches to
- Line sharing → Application database: queries and updates (evidence: `app/Http/Controllers/ShareLineController.php`)
- Cutting stage → Application database: queries and updates (evidence: `app/Http/Controllers/CuttingController.php`)
- UV stage → Application database: queries and updates (evidence: `app/Http/Controllers/UltravioletController.php`)
- Cutting stage → Cracking stage: uses model (evidence: `app/Http/Controllers/CuttingController.php`)
- Cutting stage → Sorting stage: uses model (evidence: `app/Http/Controllers/CuttingController.php`)
- Line sharing → UV stage: uses model (evidence: `app/Http/Controllers/ShareLineController.php`)
- UV stage → Sorting stage: uses model (evidence: `app/Http/Controllers/UltravioletController.php`)
- UV stage → Cutting stage: uses model (evidence: `app/Http/Controllers/UltravioletController.php`)
- Web routes → Login: dispatches to
- Login → User accounts: checks credentials (evidence: `app/Http/Controllers/Auth/LoginController.php`)
- Login → Application database: reads and logs (evidence: `app/Http/Controllers/Auth/LoginController.php`)
- Login → Activity history: records activity
- Web routes → Authority view: renders view
- Product authority → Report exports: exports reports
- Product authority → Application database: reads records
- Authority view → Application database: reads data
- Line sharing → Operational masters: uses line model (evidence: `app/Http/Controllers/ShareLineController.php`)
