How abdulsalamamtech/laravelapp works
This is a Laravel starter application for API development, with authentication and account-security flows alongside a Filament administration panel and supporting features such as waitlists, chat messages, contacts, and billing integrations. The clearest runtime path shown is API authentication: registration and login operate on users, issue or verify OTPs, and return standardized API responses. Email changes form a separate service-led workflow that updates pending changes, verifies codes, and sends mail. The graph also preserves major tree-visible subsystems; links to unsampled routes and integrations are omitted rather than inferred.
Main entry points: EmailChangeService.php Email change service · AuthController.php Authentication · OtpTokenService.php OTP service · User.php User accounts
Components 23
API and access
- Authentication
app/Http/Controllers/V1/AuthController.php - API responses
app/Helpers/ApiResponse.php - User accounts
app/Models/User.php
Account security
- OTP service
app/Services/OtpTokenService.php - OTP records
app/Models/OtpToken.php - OTP email
app/Mail/TwoFactorAuthMail.php - Email change API
app/Http/Controllers/V1/EmailChangeController.php - Email change service
app/Services/EmailChangeService.php - Pending changes
app/Models/PendingEmailChange.php - Change notifications
app/Mail/EmailChangeRequestMail.php
Administration
- Filament admin
app/Providers/Filament/AdministratorPanelProvider.php - User management
app/Filament/Resources/Users/UserResource.php - Role management
app/Filament/Resources/Roles/RoleResource.php - Admin reporting
app/Filament/Pages/Reports.php
Product features
- Waitlists
app/Http/Controllers/V1/Quest/WaitlistController.php - Chat messages
app/Http/Controllers/V1/Quest/ChatMessageController.php - Chat records
app/Models/ChatMessage.php - Contact management
app/Http/Controllers/V1/Admin/AdminContactController.php - Contact records
app/Models/Contact.php - Billing providers
app/Services/Custom/FlutterwaveBillingService.php - Media management
app/Filament/Resources/Media/MediaResource.php - Allowed origins
app/Filament/Resources/AllowedOrigins/AllowedOriginResource.php
Other components
- API client
Connections 13
- API client → Authentication: sends requests
- Authentication → User accounts: creates accounts
app/Http/Controllers/V1/AuthController.php - Authentication → OTP service: issues and verifies
app/Http/Controllers/V1/AuthController.php - Authentication → API responses: returns JSON
app/Http/Controllers/V1/AuthController.php - OTP service → OTP records: stores and verifies
app/Services/OtpTokenService.php - OTP service → OTP email: queues 2FA mail
app/Services/OtpTokenService.php - Email change API → Email change service: delegates changes
app/Http/Controllers/V1/EmailChangeController.php - Email change service → Pending changes: updates records
app/Services/EmailChangeService.php - Email change service → OTP service: requests OTPs
app/Services/EmailChangeService.php - Email change service → Change notifications: queues notifications
app/Services/EmailChangeService.php - Email change service → User accounts: updates account
app/Services/EmailChangeService.php - Chat messages → Chat records: creates records
app/Http/Controllers/V1/Quest/ChatMessageController.php - Contact management → Contact records: reads and writes
app/Http/Controllers/V1/Admin/AdminContactController.php