How adhanchan/e-letter works
This Laravel application manages user accounts and incoming/outgoing correspondence. Users enter through web routes, authenticate or register, then use dashboard workflows to browse, search, create, update, download, and delete surat records; administrators also manage user accounts. The graph preserves those domain stages and the authentication and HTTP-routing layers. Some controller excerpts are partial, so unsampled view and storage relationships are omitted rather than inferred.
Main entry points: web.php Web routes · User.php User model · SuratController.php Correspondence workflows · DashboardController.php Dashboard
Components 21
HTTP routing
- HTTP entry
public/index.php - App bootstrap
bootstrap/app.php - HTTP kernel
app/Http/Kernel.php - Route provider
app/Providers/RouteServiceProvider.php - Web routes
routes/web.php
Identity and access
- Authentication
app/Http/Controllers/AuthController.php - Registration
app/Http/Controllers/RegisterController.php - Fortify actions
app/Providers/FortifyServiceProvider.php - Create user action
app/Actions/Fortify/CreateNewUser.php - Profile update action
app/Actions/Fortify/UpdateUserProfileInformation.php - User model
app/Models/User.php
Correspondence
- Dashboard
app/Http/Controllers/DashboardController.php - Correspondence workflows
app/Http/Controllers/SuratController.php - Surat model
app/Models/Surat.php - Incoming surat view
resources/views/dashboard/user/suratmasuk.blade.php - Outgoing surat view
resources/views/dashboard/user/suratkeluar.blade.php
Account administration
- Profile management
app/Http/Controllers/AkunController.php - User administration
app/Http/Controllers/UserController.php - Account views
resources/views/dashboard/pengguna/index.blade.php - Profile view
resources/views/dashboard/user/showakun.blade.php
Other components
- Visitor
Connections 25
- Visitor → HTTP entry: sends request
public/index.php - HTTP entry → App bootstrap: loads app
public/index.php - App bootstrap → HTTP kernel: binds kernel
bootstrap/app.php - Route provider → Web routes: loads routes
app/Providers/RouteServiceProvider.php - Web routes → Authentication: routes requests
routes/web.php - Web routes → Registration: routes requests
routes/web.php - Web routes → Dashboard: routes requests
routes/web.php - Web routes → Correspondence workflows: routes requests
routes/web.php - Web routes → Profile management: routes requests
routes/web.php - Web routes → User administration: routes requests
routes/web.php - Fortify actions → Create user action: registers action
app/Providers/FortifyServiceProvider.php - Fortify actions → Profile update action: registers action
app/Providers/FortifyServiceProvider.php - Create user action → User model: creates
app/Actions/Fortify/CreateNewUser.php - Profile update action → User model: updates
app/Actions/Fortify/UpdateUserProfileInformation.php - Authentication → User model: authenticates
app/Http/Controllers/AuthController.php - Registration → User model: creates
app/Http/Controllers/RegisterController.php - Dashboard → User model: queries
app/Http/Controllers/DashboardController.php - Dashboard → Surat model: queries
app/Http/Controllers/DashboardController.php - Correspondence workflows → Surat model: manages records
app/Http/Controllers/SuratController.php - User administration → User model: manages accounts
app/Http/Controllers/UserController.php - Profile management → User model: updates profile
app/Http/Controllers/AkunController.php - User administration → Account views: renders list
app/Http/Controllers/UserController.php - Profile management → Profile view: renders profile
app/Http/Controllers/AkunController.php - Correspondence workflows → Incoming surat view: renders results
app/Http/Controllers/SuratController.php - Correspondence workflows → Outgoing surat view: renders results
app/Http/Controllers/SuratController.php