Skip to main content

Hotel Management System in PHP with Full Source Code (2020)


Hotel Management System in PHP with Full Source Code (2020)

This Hotel Management System is developed using PHP, Bootstrap, Javascript and CSS. It is an easy to use system that is designed to meet the needs of every guest in a hotel. The Hotel Management System contains the admin and user section. The admin plays a vital role in Hotel Management System because he is the one who manages all the bookings, editing’s, updating, etc... While in the user section, the user can book an available room and schedule the date according to his desire.

About the Hotel Management System in PHP Full with Source Code

As the technology advances these days it is very important to have a Hotel Management System most especially for hospitality businesses of all sizes like hotels, motels, lodges, etc., to ensure that everything runs smoothly and that the operation won’t be compromised but optimized so, the owners can gain more profit. Having a Hotel Management System it simplifies hotel operations management that increases your hotel’s efficiency and make your guests satisfied. This Hotel Management System includes an admin who keep track in managing the reservations, can do all the bookings, payment, checking profit, adding and deleting of rooms and many more… On the guest section he/she can view the homepage, about, rooms and rates, gallery, team and the contact page. The guest can then, book a room of his preference in a convenient way.

These are the following features of Hotel Management System in PHP with Full Source Code

Admin Side

  • Booking Status
  • News Letter
  • Manage Room Booking
  • Manage Payment
  • View Profit
  • Manage Users
  • Room Status
  • Add Rooms
  • Update Rooms
  • Delete Rooms

Public Side

  • Home
  • About
  • Team
  • Gallery
  • Rooms and Rates
  • Guest Resevations
  • Contact Us

How to setup the Hotel Management System in PHP with Full Source Code

  1. Download the zip file.
  2. Download and install XAMPP 
  3. Run the XAMPP control panel and start MySQL and Apache
  4. Go to C:\xampp\htdocs and extract the downloaded zip file (hotel) inside the folder
  5. Open the browser and go to http://localhost/phpmyadmin/ to create the database
  6. Click the new to create a database.
  7. Name the database sourcecodester_hoteldb.
  8. Click import to import the sql file.
  9. Click choose file and select the file that can be found inside the hotel folder.
  10. Click go.

How to run the Hotel Management System in PHP with Full Source Code

Open the browser and go to http://localhost/hotel/admin/
Accessing admin accounts

Username: janobe
Password: janobe

Open the browser and go to http://localhost/hotel/ for public side

This Hotel Management System in PHP with Full Source Code is for educational purposes only. You can download it as a reference and expand your knowledge in making a system. You can freely modify it, according to your desire.

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.

Add new comment