Skip to content

Lavish Inn is a dynamic Hotel Room Booking System built with PHP and MySQL. It provides a responsive web interface for users to book hotel rooms and for administrators to manage bookings

Notifications You must be signed in to change notification settings

Udaykiran3104/Lavish-Inn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Lavish Inn – Hotel Management System 🏨

Lavish Inn is a dynamic Hotel Room Booking System built with PHP and MySQL. It provides a responsive web interface for users to book hotel rooms and for administrators to manage bookings. Designed for ease of use, the system includes login/signup functionality with Google reCAPTCHA, booking requests, room galleries, admin approval, and mock payment confirmation.


🧰 Features

👤 User Panel

  • Signup/Login using phone and password
  • Google reCAPTCHA to prevent bot logins
  • Room Booking with customizable options (AC, meals, swimming, etc.)
  • Booking Request Management
  • View/Cancel Bookings
  • Extend Checkout Date
  • Mock Payment (Simulated button click to confirm payment)
  • Booking History

🔐 Admin Panel

  • Admin Authentication
  • Google reCAPTCHA to prevent bot logins
  • View All Booking Requests
  • Approve or Reject Requests
  • Manage Room Inventory
  • Access Booking History Records

🖼️ UI Modules

  • Home Page with Navigation
  • Room Image Gallery
  • Room Rate Card (Brochure)
  • User Dashboard
  • Admin Dashboard

🛠️ Tech Stack

Layer Technology
Frontend HTML, CSS, JavaScript
Backend PHP
Database MySQL
Tools XAMPP, phpMyAdmin
Security Google reCAPTCHA

🚀 Installation Guide

Prerequisites

  • XAMPP
  • Web browser (Chrome, Firefox, etc.)
  • Basic PHP/MySQL knowledge
  • Google reCAPTCHA site & secret keys

Setup Steps

  1. Clone the Repository

    git clone https://github.com/Udaykiran3104/Lavish-Inn.git
    
  2. Move to XAMPP Directory
    Place the project folder in:

    C:/xampp/htdocs/Lavish-Inn/
    
  3. Start Services

    • Open XAMPP Control Panel
    • Start Apache and MySQL
  4. Configure the Database

    • Go to http://localhost/phpmyadmin
    • Create a new database: lavish_inn
    • Import the provided SQL file (lavish_inn.sql) from the database/ folder
  5. Configure reCAPTCHA

    • Register at Google reCAPTCHA
    • Replace your site key and secret key in the login/signup PHP files:
      $secretKey = "YOUR_SECRET_KEY";
  6. Launch the App Open a browser and navigate to:

    http://localhost/Lavish-Inn/
    
    

📸 Screenshots

Home Page

Home Page

Room Gallery

Room Gallery

Image Gallery

Image Gallery

Admin Login

Admin Login

Admin Dashboard

Admin Dashboard

User Login

User Login

Booking Page

Booking Page 1
Booking Page 2

Booking History View

Booking History

⚠️ Known Limitations

  • No real payment integration – The system simulates payment success via a dummy button
  • Basic session and input handling – Could be enhanced for better security and scalability
  • No mobile optimization – The design is best viewed on desktop

🌟 Future Enhancements

  • Integrate real payment gateways like Razorpay, Stripe, or PayPal
  • Add email/SMS notifications for booking status
  • Enable PDF invoice generation
  • Build mobile-responsive UI
  • Add analytics dashboard for admin insights
  • Implement multi-admin support and role-based access

📄 License

This project is open-source and available under the MIT License. Free to use and modify with proper attribution.

About

Lavish Inn is a dynamic Hotel Room Booking System built with PHP and MySQL. It provides a responsive web interface for users to book hotel rooms and for administrators to manage bookings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published