https://github.com/gaurav110601/pms
A web-based Pharmacy Sales and Inventory Management System built with PHP, CodeIgniter, and MySQL. It helps manage medicines, suppliers, purchases, sales transactions, and generates reports, making pharmacy operations efficient and organized.
https://github.com/gaurav110601/pms
codeigniter pharmacy-management-system php
Last synced: 3 months ago
JSON representation
A web-based Pharmacy Sales and Inventory Management System built with PHP, CodeIgniter, and MySQL. It helps manage medicines, suppliers, purchases, sales transactions, and generates reports, making pharmacy operations efficient and organized.
- Host: GitHub
- URL: https://github.com/gaurav110601/pms
- Owner: gaurav110601
- License: mit
- Created: 2025-07-03T17:43:43.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-07-03T18:05:13.000Z (6 months ago)
- Last Synced: 2025-10-06T21:34:36.036Z (3 months ago)
- Topics: codeigniter, pharmacy-management-system, php
- Language: PHP
- Homepage:
- Size: 1.28 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# Pharmacy Sales & Inventory Management System
A web-based platform designed to help pharmacies manage daily sales transactions and inventory. Built using PHP, CodeIgniter, MySQL, and Bootstrap for an intuitive and efficient interface. :contentReference[oaicite:1]{index=1}
---
## 🔹 Overview
- **Admin Panel:**
- Full access to manage medicines, suppliers, purchases, payments, transactions, staff, and generate printable profit/loss reports.
- **Staff Panel:**
- Allows staff or cashiers to log sales transactions using valid credentials. :contentReference[oaicite:2]{index=2}
---
## 🧰 Built With
- PHP
- CodeIgniter Framework
- MySQL
- HTML5, CSS3, JavaScript, jQuery, AJAX
- Bootstrap front-end framework
- XAMPP (or similar, PHP ≥ 7) :contentReference[oaicite:3]{index=3}
---
## ✅ Features
- 📊 Dashboard summary with images
- Medicine categorization (type, generic name, brand management)
- Supplier and purchase order management
- Inventory tracking (with add/edit/delete purchase info)
- Supplier payments processing
- Sales transactions with invoice printing
- Profit-loss reporting (overall and per medicine)
- Staff/member CRUD operations
- Secure login/logout system :contentReference[oaicite:4]{index=4}
---
## 🎯 System Requirements
- PHP ≥ 7.x
- MySQL
- Web server (Apache via XAMPP/WAMP/LAMP)
- CodeIgniter Framework
- Browser (Chrome, Firefox, etc.)
---
## 🚀 Installation & Setup
1. Install and start Apache & MySQL (XAMPP/WAMP/LAMP).
2. Download and unzip the source code.
3. Copy project folder into your web root (e.g. `htdocs/ci_pms`).
4. Using phpMyAdmin, create a new database named `pms_db`.
5. Import the `pms_db.sql` file (located under the `database/` folder).
6. Configure database credentials in `application/config/database.php`.
7. Access the project via: `http://localhost/ci_pms/`. :contentReference[oaicite:5]{index=5}
---
## 👤 User Accounts
**Admin:**
- Username: `admin`
- Password: `admin123` :contentReference[oaicite:6]{index=6}
**Sample Staff:**
- Username: `jsmith`
- Password: `test#123` :contentReference[oaicite:7]{index=7}
---
## 📸 Screenshots
Dashboard Page:

Medicine Name List Page:

Inventory Page:

Sale Transaction Page (Staff-Side):

Sales Invoice (Staff-Side):

Sales Statement Page:

Profit-Loss Page Report:

---
## 🎓 For Developers
- Learn to manage master-data: types, brands, suppliers.
- Experience CRUD in CodeIgniter with AJAX.
- Understand MVC pattern in a real-world app.
- Customize for advanced pharmacy workflows, e.g. expiry tracking.
---
## ⚠️ Security Note
This code is for educational purposes. Before deploying to production, implement proper security measures (like input validation, SQL protection, secure sessions, HTTPS).
---
## 📄 License
Free for learning and modification. Attribution appreciated. No liability for commercial use.
---
## 🙏 Acknowledgements
This project was originally submitted on SourceCodester (June 10, 2022) by oretnom23. :contentReference[oaicite:8]{index=8}
---
## ✨ Enjoy & Customize!
Dive into the code, enhance features, and adapt this system to your unique pharmacy needs. Enjoy coding!