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.
- 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 Authentication
- Google reCAPTCHA to prevent bot logins
- View All Booking Requests
- Approve or Reject Requests
- Manage Room Inventory
- Access Booking History Records
- Home Page with Navigation
- Room Image Gallery
- Room Rate Card (Brochure)
- User Dashboard
- Admin Dashboard
Layer | Technology |
---|---|
Frontend | HTML, CSS, JavaScript |
Backend | PHP |
Database | MySQL |
Tools | XAMPP, phpMyAdmin |
Security | Google reCAPTCHA |
- XAMPP
- Web browser (Chrome, Firefox, etc.)
- Basic PHP/MySQL knowledge
- Google reCAPTCHA site & secret keys
-
Clone the Repository
git clone https://github.com/Udaykiran3104/Lavish-Inn.git
-
Move to XAMPP Directory
Place the project folder in:C:/xampp/htdocs/Lavish-Inn/
-
Start Services
- Open XAMPP Control Panel
- Start Apache and MySQL
-
Configure the Database
- Go to http://localhost/phpmyadmin
- Create a new database:
lavish_inn
- Import the provided SQL file (
lavish_inn.sql
) from thedatabase/
folder
-
Configure reCAPTCHA
- Register at Google reCAPTCHA
- Replace your site key and secret key in the login/signup PHP files:
$secretKey = "YOUR_SECRET_KEY";
-
Launch the App Open a browser and navigate to:
http://localhost/Lavish-Inn/
- 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
- 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
This project is open-source and available under the MIT License. Free to use and modify with proper attribution.