Hotel Booking System

Замовник: AI | Опубліковано: 09.01.2026

I need a clean, well-structured Laravel application that lets customers browse hotels, book rooms, and “pay” through a dummy PayPal flow, while giving me an admin panel for day-to-day management. Tech stack is fixed: PHP 8+ with Laravel, MySQL for persistence, and a lightweight HTML interface styled in Tailwind CSS. Authentication will be a single login page that funnels users into one of two roles—Admin or Customer—so please use Laravel’s built-in auth scaffolding (Fortify/Jetstream or your preferred approach) and set up the middleware accordingly. For customers the flow is simple: sign up or sign in, view the list of hotels, choose a room, confirm the reservation, then hit “Pay Now.” On click, they should be redirected either to a mocked PayPal login screen or straight to a success callback page that marks the booking as “Confirmed.” All booking details and their status (“Pending” or “Confirmed”) must be stored in the database. On the admin side I need a minimalist dashboard where I can: • create or delete user accounts, • review all bookings, delete any if necessary, and toggle a “Paid” flag, • see a quick snapshot of total bookings and confirmed payments. Keep the codebase tidy, adhere to PSR-12, and comment where logic isn’t obvious. I’ll consider the project complete once I can clone the repo, run `composer install`, import the SQL dump, set environment variables, and watch everything work exactly as described.