Clinic's Patient Management System in PHP/PDO Free Source Code



This simple project is a Clinic Patient Management System. This is a web-based application project developed in PHP and MySQL Database. This project's main purpose is to provide an online and automated platform for managing data for certain Medical clinics. This system helps the clinic to easily store, retrieve, and manage their patients visiting and prescription records. It has a pleasant user interface with the help of the Bootstrap Framework and AdminLTE Template that provides a better experience to the end-users. It also consists of multiple user-friendly features and functionalities.

About the Clinic Patient Management System

The project was developed with the following:

This Clinic Patient Management System is only accessible to the clinic's management. It requires the system users to log in with their valid credentials in order to gain access to the features and functionalities of the system. System users can manage the list of Medicines, Medicine Details, Patients, and Patient Prescriptions. Here the management can store the patients' visit information with some relevant data such as the blood pressure, weight, disease, and more. The management can create a prescription for the patient for its specific illness or based on her diagnosis. Using the system, the clinic's management can easily retrieve the patient history with the clinic. It also generates a printable and downloadable PDF Report for Patients Visits Records and Diseases Records.


  • Dashboard Page
    • Display the summary.
  • Medicine Management
    • Add New Medicine
    • List All Medicines
    • Edit/Update Medicine Details
  • Medicine Details Management
    • Add New Medicine Details
    • List All Medicine Details
    • Edit/Update Medicine Details Details
  • Patient Management
    • Add New Patient
    • List All Patients
    • Edit/Update Patient Details
    • Add New Patient's Prescription
    • Patient's History List
  • Report
    • Generating Printable and Downloadable Reports
      • Patient Visits
      • Disease Records
  • User Management
    • Add New User
    • List All Users
    • Edit User Details
  • 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


Clinic Patient Management System


Clinic Patient Management System

Medicine Details List Page

Clinic Patient Management System

Patient List Page

Clinic Patient Management System

Patient Visits Report

Clinic Patient Management System

Disease Record Report

Clinic Patient 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 pms_db.
  6. Import the provided SQL file. The file is known as pms_db.sql located inside the database folder.
  7. Browse the Clinic Patient Management System in a browser. i.e. http://localhost/pms/.

Admin Default Access:

Username: admin
Password: admin123


That's it. You can now explore the features and functionalities of this Clinic Patient Management System in PHP. 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 byMarvin Beboso … (not verified)on Sat, 07/02/2022 - 10:44

i cant connect to the localhost/pms after importing the file
Submitted byBrian mulondo (not verified)on Sat, 08/13/2022 - 01:51

How to solve errors on new pliz help me
Submitted byAnonymous (not verified)on Wed, 08/17/2022 - 17:18

It is a great
Submitted byAbdi Gizachew (not verified)on Thu, 08/25/2022 - 16:19

Thank you these site page these source code very important
Submitted byGall (not verified)on Wed, 06/14/2023 - 11:22

how to edit their theme colors
Submitted byMaxpayne (not verified)on Sat, 04/27/2024 - 01:54

how can i change the theme into white ?
Submitted byErd (not verified)on Thu, 05/02/2024 - 23:54

Do you have the ERD for this site

Add new comment