Hotel Management System (HMS) in PHP CodeIgniter with free source code — a web-based booking system for small hotels and guest houses, with an admin panel and a customer dashboard.
A hotel management system takes the routine work of reservations off the front desk: guests sign up and book rooms online, and staff manage check-ins, check-outs, rooms, and reports from an admin panel. This project is a compact, readable example of how a real reservation workflow is built.
What is the Hotel Management System?
HMS is developed for managing small hotels or guest houses on the web. Guests create an account, log in to their own dashboard, and make reservations from home — all they need is an internet connection. Because bookings go through one database, double-booked rooms and colliding reservations are prevented, and management can see revenue and activity in reports instead of paperwork.
Key Features
- Administration dashboard and a separate customer dashboard.
- Admin login plus customer signup and login.
- Booking, check-in, and check-out workflow.
- Rooms and room types management.
- Reports and user validation.
Technologies Used
PHP (5.1.6 or newer) on the CodeIgniter 2.1.2 framework, MySQL, Bootstrap 3.0, and jQuery 1.7.
How to Install and Run
- Download and extract the project, then move the folder into your XAMPP htdocs directory.
- In phpMyAdmin, create a new database and import the included
HMS.sql. - Set your database credentials in
application/config/database.phpand thebase_urlinapplication/config/config.php. - Start Apache and MySQL, then open the project folder on localhost in your browser.
Who Is This For?
IT/CS students building a hotel-reservation capstone, developers learning CodeIgniter’s MVC structure on a real project, and small guest houses studying what an online booking system involves.
What You’ll Learn Building It
This codebase is a compact lesson in CodeIgniter’s MVC structure: controllers for the booking flow, models for rooms and reservations, and separate view layers for the admin panel and the customer dashboard. You’ll see how a reservation is validated against existing bookings to prevent collisions, how check-in and check-out change a room’s state, and how role separation keeps guest accounts away from admin functions — patterns you can reuse in any booking or appointment system.
Download
LOGIN/REGISTER to download the free source code, or grab it directly: Download Hotel Management System (ZIP from GitHub).
Note: the source code is free for educational use — this is an open-source project by N3TC4T on GitHub; please keep credit to the original author and don’t use it commercially without permission.
Related Projects
- Best Hotel and Lodge Management System in PHP
- 6 Best Open-Source POS Systems (2026)
- Capstone Project Ideas with Source Code
- Inventory Management System
Frequently Asked Questions
Is this hotel management system free?
Yes — it’s an open-source project, free to download and study. Keep the original author’s credit.
What framework does it use?
CodeIgniter 2.1.2 with PHP and MySQL, plus Bootstrap 3 and jQuery on the front end.
Does it support online booking by guests?
Yes — customers sign up, log in to their own dashboard, and make reservations; staff handle check-in and check-out from the admin panel.