Online Doctor Search and Appointment System Project using PHP Mysql

Code and documentation of Online Doctor Search and Appointment System Project using  PHP Mysql


Project Domain / Category


Web Application


Abstract / Introduction


The proposed project is a smart appointment booking system that provides patients or any user an easy way of searching a doctor as per doctor’s specialization and booking a doctor’s appointment online. This project also provides a platform for doctors to create their profile so that a user or patient can search them and book an appointment.


This is a web based application that overcomes the issue of managing and booking appointments according to user’s choice or demands. The task sometimes becomes very tedious for the doctor himself / herself in manually allotting appointments for the users as per their availability. Hence this project offers an effective solution where users can select a doctor and view various booking slots available and select the preferred date and time for the selected doctor. The already booked space will be marked yellow and will not be available for anyone else for the specified time. This system also allows users to cancel their booking anytime.

Functional Requirements:

This project has three main actors:

  • Administrator
  • Doctor
  • Patient or user

The functional requirement for each actor is given below:

Functional requirements for Administrator

  1. Login
  2. Approve or disapprove a doctor
  3. Add, update, delete and view specializations
  4. Add update, delete and view locations
  5. Book, cancel and view user’s appointments
  6. Add, update, delete and View doctors
  7. Add, update, delete and View users


Functional requirements for Doctor

  1. Register
  2. Login
  3. Upload and update profile, the profile must include doctor’s name, Doctor’s Picture, doctor’s introduction, doctor’s qualification, experience, location, fee, availability days, timing slots, and hospital name.
  4. View booked appointments
  5. Cancel an appointment
  6. View records of own patients


Functional requirements for user or patient

  1. Register
  2. Login
  3. Upload and edit profile, the profile must include the patient’s name, age, email address, phone number, and address.
  4. Search a doctor according to specific filters (Specialization, fee, location, and availability, etc.)
  5. Book an appointment according to availability, if a slot is already booked it must be marked yellow and this slot cannot be selected for booking.
  6. Cancel appointment.
  7. After successful appointment booking, an email notification should be sent to the patient’s email address.


  • PHP and MySQL (You can choose any framework such as Laravel)
  • Bootstrap or any other CSS Framework
  • Any JavaScript library/ framework such as jQuery, Vue Js, React Js, or Angular Js.

Class diagram, activity diagram, data flow diagram, sequence diagram, use case diagram, testing test cases, SRS, Design, Test phase, and final deliverable., and others are needed to draw for this project.

You can use any of the following PHP Frameworks For developing this Web Development Project
1. Laravel
2. Phalcon
3. Fat-Free Framework
4. CodeIgniter
5. Laminas Project
6. CakePHP
7. FuelPHP
8. Slim
9. PHPixie
10. Symfony
11. Yii