How craigman123/sidehouse works
Side House is a Laravel court-booking system for padel and pickleball. Guests can book without accounts; signed-in users have booking and dashboard features. The core workflow checks court availability and business hours, creates bookings with equipment and payment references, then presents payment status. Admins manage courts, bookings, closures, settings, announcements, and reports. The README documents QRPH payment confirmation via forwarded payment SMS; the listed tree does not include the webhook controller path it mentions, so that implementation is not represented. Some admin and user capabilities are documented but their controller internals were not sampled.
Main entry points: GuestBookingController.php Guest booking · User_UserController.php User booking · Booking.php Bookings · PaymentReference.php Payment references
Components 23
Booking workflows
- Guest booking
app/Http/Controllers/Guest/GuestBookingController.php - User booking
app/Http/Controllers/User/User_UserController.php - Bookings
app/Models/Booking.php - Booking slots
app/Models/BookingSlot.php - Equipment rental
app/Models/Equipment.php - Hours and closures
app/Support/BookingHours.php - Business settings
app/Models/BusinessSetting.php - Courts
app/Models/Court.php
Payments
- QRPH checkout
app/Http/Controllers/Guest/PaymongoQrPhController.php - Payment references
app/Models/PaymentReference.php - Payment receipt dispatch
app/Observers/PaymentReferenceObserver.php
Accounts and service
- Authentication
app/Http/Controllers/Auth/AuthController.php - Admin MFA
app/Http/Controllers/Auth/MfaController.php - User accounts
app/Models/User.php - Activity logging
app/Support/ActivityLogger.php
Administration
- Booking administration
app/Http/Controllers/Admin/BookingController.php - Business configuration
app/Http/Controllers/Admin/ConfigurationController.php - Reports
app/Http/Controllers/Admin/ReportController.php - Admin operations
app/Http/Controllers/Admin
Other components
- Guest
- Signed-in user
- Administrator
- SMS forwarder
Connections 30
- Guest → Guest booking: books through
- Signed-in user → User booking: books through
- Guest booking → Bookings: creates and checks
app/Http/Controllers/Guest/GuestBookingController.php - Guest booking → Booking slots: checks availability
app/Http/Controllers/Guest/GuestBookingController.php - Guest booking → Equipment rental: resolves rental
app/Http/Controllers/Guest/GuestBookingController.php - Guest booking → Hours and closures: uses booking hours
app/Http/Controllers/Guest/GuestBookingController.php - Guest booking → Business settings: reads settings
app/Http/Controllers/Guest/GuestBookingController.php - Guest booking → Courts: reads courts
app/Http/Controllers/Guest/GuestBookingController.php - User booking → Bookings: creates and reads
app/Http/Controllers/User/User_UserController.php - User booking → Booking slots: checks availability
app/Http/Controllers/User/User_UserController.php - User booking → Equipment rental: checks availability
app/Http/Controllers/User/User_UserController.php - User booking → Hours and closures: uses booking hours
app/Http/Controllers/User/User_UserController.php - User booking → Business settings: reads settings
app/Http/Controllers/User/User_UserController.php - User booking → Courts: reads courts
app/Http/Controllers/User/User_UserController.php - Bookings → Booking slots: has many
app/Models/Booking.php - Bookings → Payment references: belongs to
app/Models/Booking.php - QRPH checkout → Bookings: updates payment status
app/Http/Controllers/Guest/PaymongoQrPhController.php - QRPH checkout → Payment references: confirms payment
app/Models/PaymentReference.php - Payment references → Payment receipt dispatch: triggers observer
app/Providers/AppServiceProvider.php - Payment receipt dispatch → Payment references: observes
app/Providers/AppServiceProvider.php - SMS forwarder → QRPH checkout: forwards payment SMS
- Authentication → User accounts: authenticates
app/Http/Controllers/Auth/AuthController.php - Authentication → Activity logging: logs account activity
app/Http/Controllers/Auth/AuthController.php - Authentication → Admin MFA: routes admin challenge
app/Http/Controllers/Auth/AuthController.php - Business configuration → Business settings: configures hours
- Administrator → Booking administration: manages bookings
- Administrator → Business configuration: configures business
- Administrator → Reports: views reports
- Administrator → Admin operations: manages operations
- Reports → Bookings: aggregates bookings
app/Http/Controllers/Admin/ReportController.php