Hotel Management System in PHP using CodeIgniter Framework Free Source Code



This simple project is a Hotel Management System. This is a web-based application project developed in PHP, CodeIgniter, and MySQL Database. The main purpose of this application is to provide an online platform for a certain Hotel to manage their records. This application helps the hotel management to easily store, retrieve, and manage the hotel records. It has a pleasant user interface with the help of the Bootstrap Framework. This application consists of user-friendly features and functionalities that help the end-users to give the end-users a better experience while using it.

About the Hotel Management System

This was project was developed with the following:

This Hotel Management System web application is only accessible to all registered users. The application allows the management to manage the list of room types, rooms, departments, restaurants, medical services, and sports facilities. The users can be only registered by the other logged users. The application allows the users to manage the services that the guests acquired from their hotel such as the massage services, using the sports facilities, etc. Here, management can also reserve the room for upcoming guests. On the reservation page, the management is required to register the customer or guest information first before listing the available room for the guest's desired type of room and chosen date. The room will be unavailable automatically if a guest has already checked-in or have a reservation on a similar date or in between.


  • Dashboard Page
    • Display the Current Days Status or Summary.
    • Display Shortcuts
    • Display the list of Frequent Customers
    • Display the list of Most Favorite Customers
  • Employee Management
    • Add New Employee
    • List All Employees
    • Edit/Update Employee Details
    • Delete Employee
  • Room Type Management
    • Add New Room Type
    • List All Room Types
    • Edit/Update Room Type Details
    • Delete Room Type
  • Room Management
    • Add New Room
    • List All Rooms
    • Edit/Update Room Details
    • Delete Room
  • Customer Management
    • Add New Customer
    • Search Customers
  • Reservation Management
    • Add New Reservation
    • List All Available Rooms
    • Select Checkin Date using the Calendar
  • Restaurant Management
    • Add New Restaurant
    • List All Restaurants
    • Add Restaurant Services of the Guest or Customer
    • Edit/Update Restaurant Details
    • Delete Restaurant
  • Medical Service Management
    • Add New Medical Service
    • List All Medical Services
    • Edit/Update Medical Service Details
    • Delete Medical Service
  • Sports Facility Management
    • Add New Sports Facility
    • List All Sports Facilities
    • Add Sports Facility Service of the Guest or Customer
    • Edit/Update Sports Facility Details
    • Delete Sports Facility
  • Massage Room Management
    • Add New Massage Room
    • List All Sports Facilities
    • Add Massage Service of the Guest or Customer
    • Edit/Update Massage Room Details
    • Delete Massage Room
  • Login and Logout

The source code was developed only for educational purposes only. You can download the source code for free and modify it the way you wanted.

System Snapshots of some Features

Login Page

Hotel Management System

Dashboard Page

Hotel Management System

Employee List

Hotel Management System

Reservation Page

Hotel Management System

List of Available Rooms Page

Hotel Management System

Room Types List Page

Hotel Management System

How to Run ??


  • Download and Install any local web server such as XAMPP.
  • Download the provided source code zip file. (download button is located below)

System Installation/Setup

  1. Open your XAMPP Control Panel and start Apache and MySQL.
  2. Extract the downloaded source code zip file.
  3. Copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming hms_db.
  6. Import the provided SQL file. The file is known as hms_db.sql located inside the database folder.
  7. Browse the Hotel Management System in a browser. i.e. http://localhost/ci_hms/.

Admin Default Access:

Username: admin
Password: admin123


That's it. You can now explore the features and functionalities of this Hotel Management System in PHP using CodeIgniter Framework. I hope this will help you with what you are looking for and you'll find something useful for your future projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byTahir Mubeen (not verified)on Sun, 07/31/2022 - 08:35

Anyone need help. Contact me I will help you out quickly and easy. Only 3dollers. Complete Application installlation. Whatsapp number 009203006037178.
Submitted bymako166478 (not verified)on Thu, 11/03/2022 - 08:55

a hotel system needs to include check-in/check-out and available rooms...etc NOT medical service and sports facility...etc
Submitted byAnonymous (not verified)on Tue, 07/04/2023 - 20:28

good work

Add new comment