Hospital Management System in PHP CodeIgniter with Source Code

A fully functional project based on Hospital Management System which uses PHP Language with CodeIgniter Web Framework. Following PHP CodeIgniter project contains all the essential features which can be in use by the second-year IT students for their college projects. It has a number of features that will allow users to manage all hospital-related records. This system as well as the web application’s concept is all clear. It’s the same as real-life scenarios and well-implemented on it. To download free Hospital Management system project in PHP with source code files, please scroll down to the bottom of this post for the Download button.

About Hospital Management System PHP CodeIgniter Project

In particular, this Online Hospital Management System project in PHP CodeIgniter focuses mainly on keeping track of the patient’s activities. To be more precise, the system helps to keep track of hospitals’ doctors, patients, nurses, departments, and so on. Also, the system contains all the report management and bed allotments. In addition, the system allows for managing medicine categories, billings, and more. Evidently, this project contains an admin panel with a doctor, patient, nurse, accountant, and pharmacist panel. In an overview of this web application, a nurse has a minor role and control over the system. He/she can manage patients, view appointments, and report. Also, the user can manage bed ward, allotments, and blood banks where the nurse can add names of donors with blood details.

Admin Panel

An administrator has full control over the system. He/she can manage departments, patients, doctors, pharmacists, and so on. Here, each and every section has its own respective details such as name and other important details. The very first step of the management of this system is to set up departments for the doctors. There are minor fields for the department such as name and description. This whole department section plays an important role in the management of the doctor’s record. As each of these doctors’ records falls under different departments. In Addition, the system allows managing doctor’s records. And with it, the administrator can set up personal and login details for each one of them. And the same process goes for the nurse, patient, pharmacist, and accountant management section.

Monitor Hospital Activities

Talking about the hospital activities, an administrator can simply view each and every corner of the system. Referring to corner means, an admin can list out all the appointments made, payments done, current bed status, medicines, etc. Also, the system allows the admin to view blood bank records with details of donors. Additionally, the administrator can view a number of operation reports of each patient. And not just it, the user can also view the reports of birth and death records. But the main thing out here is that the admin cannot interfere with any of these records. This means, that the admin can only list and navigate through this list of records, but cannot change any. In fact, only the proper authenticated account users can make changes besides the admin. As the name itself states, the admin can only monitor these sections.

Noticeboard, System Settings, and More

Just like a mentorship over the company, the admin can only publish notice for all the system users. For this, the user has to provide certain basic things. Such as the title of the notice, dates, and full description. As a result, each user can view such notice under their dashboard. And not just the dashboard, but also the calendar in which the system marks the date with respect to created notice. In terms of system settings, the user can change certain things like system name, title, and contact information. Besides, the administrator can view the account profile, and make changes to it such as the user password and other important details.

Patient Appointment Management and Prescriptions

Moreover, here comes one of the important parts of this whole hospital management system. This particular section helps to list out appointment dates for each patient if needed. In order to make an appointment, the user has to select a patient and date. Also, these appointment dates are visible on both doctor’s and patient’s dashboards under the calendar section. Nextly, the doctor can provide prescription details to the appointed patient. For this, the user has to provide a case history, medication, and description. Here, the prescription part is directly linked to the pharmacist’s account where he/she can provide medical prescriptions too. And not just only linked with the pharmacist’s account, but also it is directly linked with laboratorist’s account for providing diagnosis reports.

Bed Allotment and Patient Report

After all, a patient requires to get admitted into the hospital if needed. So, this system contains a feature that allows users to manage bed allotments for their patients. All the beds’ numbers are managed from the nurse account. So, the user just needs to select any of the available bed numbers, patient with allotment, and discharge date. When it comes to patient report management, the user can perform it under categories such as operation, birth, death, and others. This whole process is just simple as the system only allows to insert report type with the name of the patient, doctor, date, and description for the record. Besides, the user can search for records under each section using various keywords.

Patient Panel

Similarly, the patient panel focuses mainly on viewing records of appointments, selected doctors, admit history, and so on. As soon as the user creates an appointment record, the selected patient can view all those information under his account panel. And as mentioned earlier, the management of the bed allotment section for patients directly ties into the admit history section for that particular patient. Here, a patient can list out bed number, type, doctor’s name with allotment, and discharge date. And the same goes for the operation history section too. Besides, the patient can view his/her invoice details which display all the billing information done by the accountant. In addition to it, there’s also a payment history section available for each.

Pharmacist Panel

On one hand, the user can have a quick look at the patient’s medication where he/she can also provide medication details. The main duty of a pharmacist in this system is to manage medicines and their categories. The very first step is to manage the medicine category. After that, the user can simply add medicine records by providing details such as name, description, category selection, and price with current status. Here, current status refers to the current quantity. In fact, without proper management of the medicine category, the user won’t be able to add medicine records. Besides, the user can view an overall number of records, manage profiles and update passwords.

Invoice Management, and Blood Bank Management

On the other hand, the system allows the creation of invoices for the patient in order to complete their payments. In fact, this whole thing is done from an accountant’s level. An invoice can be created with ease by selecting the patient and providing a title with a description, total amount, and status. Here, status refers to payment status such as paid and unpaid. For all those unpaid invoices, an accountant can mark them as paid from the list invoice section. With the completion of payment or let’s say completion of paid invoices, the users can view payment histories that only list out paid invoices. Even though the role of an accountant is less than others, it tends to play a vital role in the proper flow of the hospital billing systems. Besides, the user can manage the blood bank and the details of their respective donors.

Last but not least, a clean and simple dashboard is presented with various color combinations for greater user experience while using this Online Hospital Management System Project in PHP MySQL CodeIgniter. For its UI elements, a free open-source CSS framework; Bootstrap is on board with some Vanilla CSS too. Presenting a new Hospital Management System Project in PHP MySQL which includes an admin panel with other access that contains all the essential features to follow up, and a knowledgeable resource for learning purposes.

Available Features:
  • Admin Panel
  • Doctor Panel
  • Patient Panel
  • Nurse and Pharmacist Panel
  • Accountant Panel
  • Set up Doctor’s Department
  • Doctor Management
  • Patient Management
  • Make Appointments
  • Manage Prescriptions
  • Nurse Management
  • Pharmacist Management
  • View Payment History
  • Invoice Management
  • Set up Bed Numbers
  • Bed Allotment
  • Admit Patients, Admit History
  • Manage Patient Report
  • Diagnosis Report
  • Add Medicine Records
  • Blood Bank Management
  • Update User Profile
  • System Settings
  • Notice Management
Project Name:Hospital Management System
Language/s Used:PHP with CodeIgniter Web Framework
PHP version (Recommended):5.6
Type:Web Application
Developer:John Sokpo
Hospital Management System PHP MySQL Project Overview

Instructions: How to Run?

  • After you finish downloading the project, unzip the project file and head over to your XAMPP directory.
  • There you’ll find a folder naming “htdocs”.
  • Inside the “htdocs” folder, paste the project folder (not the .zip one, but the extracted one).
  • Open your favorite browser; we recommend using Google Chrome or Mozilla Firefox.
  • Then, go to the URL “http://localhost/phpmyadmin“.
  • Create a Database with a name that is provided inside the “01 LOGIN DETAILS & PROJECT INFO.txt”.
  • Click on the “Import” tab and choose the database file (.sql) which is provided under the folder naming “DATABASE FILE”.
  • After setting up all these, go to the URL “http://localhost/[ PROJECT_FOLDER_NAME ]/“
  • All the login details are provided inside the project folder, check that out and enter them in order to use it.

And there you have it, a full setup of the Hospital Management System Project in PHP. For this particular PHP project, PHP Version 5.6 is required because the project does not operate with the latest PHP version. So, users with the latest PHP version (greater than 5.6) might face various problems while operating it. As a result, you’ll need to manage your PHP version (only if you’re using the latest version) at the moment. Also, Download Free Online Hospital Management System Project in PHP MySQL CodeIgniter Source Code. So, this hospital system PHP project is a simple project for all beginners that broads vast knowledge into such PHP web applications. In conclusion, this whole PHP project with free source code is an absolute project and a meaningful way for the users to learn and explore more about it.

Free Download Hospital Management System Project in PHP MySQL CodeIgniter with Source Code:
Click the Download Button Below to Start Downloading

Note: Only for Educational Purpose


  1. Hey there, i am sorry! it’s nothing after doing all of that! and i hav downloaded php version 5.6 as it’s required but i still don’t know how to connect with it! may you help me to know what to do so that it may work out, please?

      1. it’s just give a blank page after putting localhost/my folder name/ just a blank page there is no backend folder

    1. Not everything, but most of them are. Cause these projects were developed years back. Also, it depends upon the developers as all of the developers might not have the latest one all the time. Even we don’t have the latest PHP version installed on our XAMPP Server, we only have PHP 5.6 and 7.4

  2. Sorry sir, can you upload the xampp setup of exactly version you used in that project or its link from official website that comes with php 5.6 and not 5.6.{something}. Give me the link to exactly version.

Leave a Reply

Your email address will not be published. Required fields are marked *