A professional, high-performance Pharmacy Management System designed to streamline inventory tracking, sales processing (POS), and business analytics.
- Proactive Dashboard: Real-time stats for revenue, profit, low stock alerts, and upcoming medicine expiries.
- Dynamic POS System: Fast billing interface with automated stock deduction and invoice generation.
- Inventory Management: Comprehensive tracking of medicines, batches, categories, and expiry dates.
- Detailed Analytics: Visual reports for revenue, profit, and top-selling medicines using Chart.js.
- User Management & RBAC: Role-based access control for Admins and Staff members.
- Secure Architecture: Built using PDO prepared statements to prevent SQL Injection and CSRF protection for all forms.
- Premium UI: Modern, responsive design featuring glassmorphism elements and smooth animations.
- Backend: PHP 8.x (Core)
- Database: MySQL (MariaDB)
- Frontend: HTML5, CSS3 (Vanilla + Modern Design System), Bootstrap 5
- Charts: Chart.js
- Icons: FontAwesome 6
To get this project running locally on your machine (using XAMPP):
-
Clone the Repository:
git clone https://github.com/jalalakbar47/Medicine-Store.git
-
Setup Database:
- Open phpMyAdmin.
- Create a new database named
pharmacy_db. - Import the
database.sqlfile provided in the root directory.
-
Configure the App:
- Open
config.php. - Update
DB_USER,DB_PASS, andAPP_URLif they differ from your local setup.
- Open
-
Run the Project:
- Move the project folder to
C:\xampp\htdocs\. - Access the system via
http://localhost/Medicine-Store.
- Move the project folder to
| Role | Username | Password |
|---|---|---|
| Admin | admin |
admin123 |
Place your screenshots in the /screenshots folder using the exact names below:
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is open-source and available under the MIT License.
Created with ❤️ by jalalakbar47
Dedicated To My ❤️ J/S — My Inspiration.





