Pharmacy Management System in PHP with Source Code

A project-based on Pharmacy Management System which uses PHP Language. Following PHP project contains all the required and essential features which can be in use for the first-year, second-year IT, final-year IT students for their college projects. It has a large number of important features that will allow all the users to interact in a way that pharmacies interact with their customers in terms of dealing with their records, charges, and other medical-related stuff. 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 pharmacy management system project in PHP with source code files, please scroll down to the bottom of this post for the Download button.

About Project

Moving on, this pharmacy management system project in PHP focuses mainly on dealing with their patients regarding their prescriptions and their respective transactions. Also, it displays all the available data such as medicines, staff information, cashier, local and global data, etc. The project is divided into four categories: Admin Login, Manager Login, Pharmacist Login, and Cashier’s Login. In an overview of this web app, the admin has full control of the system. Talking about the project, a pharmacist can simply log in to his/her respective account where he/she can view and create prescriptions and medicine stocks. Likewise, the role of a cashier is just for making payments through the system which allows different types of payment methods. At last, the system generates an invoice receipt in PDF format and provides them to the user.

Admin and Manager Panel

Similarly, an admin plays the main role in implementing the system. An admin has the right to view all details of the system. From the admin account, he/she can easily manage the users according to their positions. Also, for easiness, the admin can view local and global data in form of table format with a filter system too. From there, he/she can view the cost of medicines from various cities globally by fetching the global database. On the other hand, a user can only view information of users, invoices, prescription details, and manage medicine stocks. Although the main work falls upon the administrator for the management aspect of the system, still each and every user performs their own work with importance on their respective roles.

Last but not least, a clean and simple dashboard is presented with native color combinations and icons for a greater user experience while using this pharmacy management system project in PHP. For its UI elements, Vanilla CSS is on board. Presenting a new pharmacy management system project in PHP MySQL which includes an admin panel with the manager, pharmacist, and cashier panel that contains all essential features to follow, and a knowledgeable resource for learning purposes.

Available Features:

  • Admin Login
  • Pharmacist Login
  • Cashier Login
  • Manager Login
  • Manage manager, pharmacists
  • Manage cashiers
  • Fetch local and global data
  • Filter system
  • Handle prescriptions and medicine stocks
  • Make Payments
  • Selective payment methods
  • Automatically generates invoice receipts
Project Name:Pharmacy Management System
Language/s Used:PHP, JavaScript
PHP version (Recommended):5.6.3
Database:MySQL
Type:Web Application
Developer:Sagar Mistry
Updates:0
Pharmacy Management System – Project Information

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 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 URL “http://localhost/[ ENTER_PROJECT_FOLDER_NAME_HERE ]
  • All the login details are provided inside the project folder, check that out and enter in order to use it.

And there you have it, a full setup of Pharmacy Management System in PHP MySQL. For this particular PHP project, PHP Version 5.6.3 is required because the project does not operate with the latest PHP version. So, users with the latest PHP version (greater than 5.6.3) might face various problems while operating it. As a result, you’ll need to downgrade your PHP version (only if you’re using the latest version) at the moment. Download Free Pharmacy Management System Project in PHP MySQL with Source Code. So, this pharmacy management system is a quick broad PHP project for all the beginners as well as intermediate level 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 onto it.

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

Note: Only for Educational Purpose

55 comments

    1. please check the instruction clearly as mentioned in the description, also do check about the mentioned (RECOMMENDED) PHP versions and let me know

    1. This is due to your LATEST PHP version. This particular project requires PHP 5.6 (as mentioned in the project overview table)
      OR, you can try changing mysql_connect into mysqli_connect

  1. i hove got this problem please help me if possible
    Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\Supermarket-mgmt-PHP\include\connection.php:4 Stack trace: #0 C:\xampp\htdocs\Supermarket-mgmt-PHP\include\header.php(3): require_once() #1 C:\xampp\htdocs\Supermarket-mgmt-PHP\index.php(2): require_once(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\Supermarket-mgmt-PHP\include\connection.php on line 4

    1. That’s due to your LATEST PHP version.
      This particular project requires PHP 5.6 (as mentioned in the project overview table) in order to work properly!

  2. Fatal error: Uncaught TypeError: array_sum(): Argument #1 ($array) must be of type array, null given in C:\xampp\htdocs\new\invoice.php:48 Stack trace: #0 C:\xampp\htdocs\new\invoice.php(48): array_sum(NULL) #1 {main} thrown in C:\xampp\htdocs\new\invoice.php on line 48

  3. I want to update pharmacist details, but the pharmacist detail was not update.it says(update failed try again in red msg)

  4. Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:\wamp64\www\PharmacyMS-PHP\connect_db.php on line 4
    Error: Call to undefined function mysql_pconnect() in C………………….

    1. That’s due to your LATEST version of PHP. This project requires PHP 5.6 in order to work (as mentioned in the project overview table and text files)

  5. Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:\xampp\htdocs\PharmacyMS-PHP\connect_db.php:4 Stack trace: #0 C:\xampp\htdocs\PharmacyMS-PHP\index.php(2): include_once() #1 {main} thrown in C:\xampp\htdocs\PharmacyMS-PHP\connect_db.php on line 4.
    How do i get it to work since its related to the version

  6. Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:\xamp\htdocs\PharmacyMS-PHP\connect_db.php:4 Stack trace: #0 C:\xamp\htdocs\PharmacyMS-PHP\index.php(2): include_once() #1 {main} thrown in C:\xamp\htdocs\PharmacyMS-PHP\connect_db.php on line 4

Leave a Reply

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