How arunjoshva/laravel-contact-admin works
This Laravel application accepts public contact messages and provides an authenticated admin dashboard to review them. The main workflow runs from the contact form through request validation and persistence, then from the protected admin route through message retrieval to a responsive dashboard. Separate account features cover registration, login, email verification, and profile maintenance. The graph also includes Laravel’s route/bootstrap entry layer. Relationships are limited to those shown in the sampled source or documented in the README; some Breeze routes reference controllers absent from the supplied tree.
Main entry points: auth.php Auth routes · web.php Web routes · ContactController.php Contact handling · AdminController.php Message listing
Components 23
Routing and entry
- HTTP entry
public/index.php - App bootstrap
bootstrap/app.php - Web routes
routes/web.php - Auth routes
routes/auth.php
Contact messages
- Contact form
resources/views/contact.blade.php - Contact handling
app/Http/Controllers/ContactController.php - Contact records
app/Models/Contact.php
Admin dashboard
- Message listing
app/Http/Controllers/AdminController.php - Admin dashboard
resources/views/admin/dashboard.blade.php
Accounts
- Registration
app/Http/Controllers/Auth/RegisteredUserController.php - Login and session
app/Http/Controllers/Auth/AuthenticatedSessionController.php - Login validation
app/Http/Requests/Auth/LoginRequest.php - Verification prompt
app/Http/Controllers/Auth/EmailVerificationPromptController.php - Verification notice
app/Http/Controllers/Auth/EmailVerificationNotificationController.php - Verify email
app/Http/Controllers/Auth/VerifyEmailController.php - Profile management
app/Http/Controllers/ProfileController.php - Profile validation
app/Http/Requests/ProfileUpdateRequest.php - User accounts
app/Models/User.php - Profile screen
resources/views/profile/edit.blade.php - Profile form
resources/views/profile/partials/update-profile-information-form.blade.php - Registration screen
resources/views/auth/register.blade.php
Other components
- Visitor
- Admin
Connections 24
- Visitor → HTTP entry: requests
- HTTP entry → App bootstrap: boots
public/index.php - App bootstrap → Web routes: loads routes
bootstrap/app.php - Visitor → Contact form: submits message
README.md - Web routes → Contact handling: routes to
routes/web.php - Contact handling → Contact records: creates record
app/Http/Controllers/ContactController.php - Contact handling → Contact form: renders
app/Http/Controllers/ContactController.php - Admin → Web routes: requests dashboard
README.md - Web routes → Message listing: routes to
routes/web.php - Message listing → Contact records: paginates messages
app/Http/Controllers/AdminController.php - Message listing → Admin dashboard: renders
app/Http/Controllers/AdminController.php - Web routes → Auth routes: loads auth routes
routes/web.php - Auth routes → Registration: routes registration
routes/auth.php - Auth routes → Login and session: routes login
routes/auth.php - Auth routes → Verification prompt: routes prompt
routes/auth.php - Auth routes → Verification notice: routes notice
routes/auth.php - Auth routes → Verify email: routes verification
routes/auth.php - Registration → Registration screen: renders
app/Http/Controllers/Auth/RegisteredUserController.php - Registration → User accounts: creates account
app/Http/Controllers/Auth/RegisteredUserController.php - Login and session → Login validation: authenticates with
app/Http/Controllers/Auth/AuthenticatedSessionController.php - Profile management → Profile validation: validates update
app/Http/Controllers/ProfileController.php - Profile management → Profile screen: renders
app/Http/Controllers/ProfileController.php - Profile screen → Profile form: includes
resources/views/profile/edit.blade.php - Profile validation → User accounts: validates against
app/Http/Requests/ProfileUpdateRequest.php