How zed-mp3/motorcycle_repair_shop_laravel works
The repository contains a legacy motorcycle-repair service portal alongside a Laravel 12 skeleton. The principal documented customer flow is booking a repair, with separate customer tracking, administrator operations, and mechanic repair work. Legacy bootstrap and database configuration underpin those portal areas; login and registration also reference notification sending. The Laravel entry point is present, but its route contents do not establish an application workflow. Unsampled feature files are represented at their enclosing directory level; links are limited to relationships evidenced by excerpts or the source index.
Main entry points: bootstrap.php Legacy bootstrap · database.php DB connection · book-service.php Book service · auth.php Session authorization
Components 21
Customer portal
- Book service
legacy/customer/book-service.php - Booking processing
legacy/process-booking.php - Booking status
legacy/customer/booking-status.php - Repair tracking
legacy/customer/track-status.php - Customer home
legacy/customer/home.php - Login and registration
legacy
Repair operations
- Admin operations
legacy/admin - Mechanic workflow
legacy/mechanic
Legacy core
- Email notifications
legacy/send-notification.php - PHPMailer
legacy/phpmailer/src/PHPMailer.php - SMTP transport
legacy/phpmailer/src/SMTP.php - Legacy bootstrap
legacy/bootstrap.php - Session authorization
legacy/includes/auth.php - DB connection
legacy/config/database.php - Repair portal database
legacy/config/database.php
Laravel skeleton
- Laravel entry
public/index.php - Laravel application setup
bootstrap/app.php - Web routes
routes/web.php - Laravel user model
app/Models/User.php
Other components
- Customer
- Web user
Connections 26
- Customer → Book service: opens
legacy/customer/book-service.php - Book service → Booking processing: submits booking
legacy/customer/book-service.php - Customer → Booking status: views bookings
- Customer → Repair tracking: tracks repair
- Customer → Customer home: opens home
- Login and registration → Email notifications: sends notification
legacy/login.php - Book service → Legacy bootstrap: loads
legacy/customer/book-service.php - Book service → DB connection: loads
legacy/customer/book-service.php - Book service → Session authorization: loads
legacy/customer/book-service.php - Legacy bootstrap → DB connection: loads
legacy/bootstrap.php - DB connection → Repair portal database: connects
legacy/config/database.php - Session authorization → Legacy bootstrap: loads
legacy/includes/auth.php - Admin operations → Legacy bootstrap: loads
legacy/admin/mechanics.php - Admin operations → DB connection: loads
legacy/admin/mechanics.php - Admin operations → Session authorization: loads
legacy/admin/mechanics.php - Mechanic workflow → Legacy bootstrap: loads
legacy/mechanic/dashboard.php - Mechanic workflow → DB connection: loads
legacy/mechanic/dashboard.php - Mechanic workflow → Session authorization: loads
legacy/mechanic/dashboard.php - Booking status → Legacy bootstrap: loads
legacy/customer/booking-status.php - Booking status → DB connection: loads
legacy/customer/booking-status.php - Booking status → Session authorization: loads
legacy/customer/booking-status.php - Email notifications → PHPMailer: uses
legacy/send-notification.php - Email notifications → SMTP transport: uses
legacy/send-notification.php - Web user → Laravel entry: requests
public/index.php - Laravel entry → Laravel application setup: loads
public/index.php - Laravel application setup → Web routes: configures routing
bootstrap/app.php