How yohanes-budi-satrio/yohanes-budi-satrio-aplikasi-dasar-multi-tenant-bank-grade-security works
This is a Laravel enterprise application for secure, multi-tenant company administration, authentication, and billing. Its primary user journey is sign-in with layered verification, then access to tenant-scoped dashboards and administration; billing users also manage and download invoices. The map highlights authentication/security, tenant administration, and invoice operations, plus notification and audit support. README feature descriptions inform several links, but source excerpts are incomplete, so uncertain controller and service wiring is omitted.
Main entry points: Login.php Sign In · database.php Application Database · InvoiceController.php Invoice Delivery · app.php App Bootstrap
Components 24
Web Entry
- Laravel Runtime
public/index.php - App Bootstrap
bootstrap/app.php - Web Routes
routes/web.php
Identity Security
- Sign In
app/Livewire/Auth/Login.php - Captcha
app/Http/Controllers/CaptchaController.php - Request Security
app/Http/Middleware - OTP Service
app/Services/OtpService.php - Security Settings
app/Livewire/Admin/SecuritySettings.php - User Identity
app/Models/User.php
Tenant Operations
- Dashboard
app/Livewire/Dashboard/Index.php - Tenant Administration
app/Livewire/Admin - Company Records
app/Models/Company.php - Subscriptions
app/Services/SubscriptionService.php
Billing
- Invoice Management
app/Livewire/Admin/BillingManagement.php - Invoice Delivery
app/Http/Controllers/InvoiceController.php - Invoices
app/Models/Invoice.php - Invoice Generation
app/Services/InvoiceGenerator.php - Printable Invoice
resources/views/invoice/print.blade.php
Audit Notifications
- Application Database
config/database.php - Audit Service
app/Services/AuditService.php - Notifications
app/Services/NotificationService.php
Other components
- User
- Telegram
Connections 25
- User → Laravel Runtime: sends request
- Laravel Runtime → App Bootstrap: handles request
- App Bootstrap → Web Routes: loads routes
- Web Routes → Sign In: dispatches sign-in
- Sign In → Captcha: requests challenge
- Sign In → OTP Service: verifies OTP
- Sign In → User Identity: authenticates
- Sign In → Dashboard: redirects after login
- App Bootstrap → Request Security: registers middleware
- User → Dashboard: opens dashboard
- User → Tenant Administration: manages tenant
- Tenant Administration → Company Records: manages companies
- Tenant Administration → Subscriptions: manages subscriptions
- User → Invoice Management: manages billing
- Invoice Delivery → Invoices: loads invoice
- Invoice Delivery → Audit Service: records access
- Invoice Delivery → Printable Invoice: renders invoice
- Invoice Management → Invoice Generation: generates invoices
- Invoices → Application Database: reads and writes
- User Identity → Application Database: reads and writes
- Company Records → Application Database: reads and writes
- Audit Service → Application Database: records events
- Notifications → Telegram: sends messages
- Notifications → WhatsApp: sends messages
- Security Settings → Notifications: sends alerts