a comprehensive web-based pharmacy management system designed to facilitate the workflow for pharmacists. The system enables pharmacists to efficiently manage inventory, search for product, process sales orders, and track all sales transactions.
-
Inventory Management
- Add a new product
- Remove a product
- Update product information
- view detailed product page
- search for a product
-
Order tracking
- see all transactions
- search for transactions by id, customer name, customer's phone number
-
Profile Management
-
Staff Management
Login Page | Home Page |
---|---|
![]() |
![]() |
Add A New Drug Page | Make A Purchase Page |
![]() |
![]() |
All drugs page | Profile page |
![]() |
![]() |
Make sure you have PHP
8.1 or higher, Laravel
10.10 or higher, Composer
installed
- Clone the repository
git clone https://github.com/Sapagh21/Pharmacy-Management-system.git
- Navigate to the project's directory
cd .\Pharmacy-Management-system\
- Install packages with composer
composer install
-
Create your database (optional)
The project's initial database exists inDatabase/database.sqlite
, but you can create a new database if you want. -
copy .env from .env.example at the project root directory
cp .env.example ./.env
- Generate app key
php artisan key:generate
- Set database connection to your database in the .env file
Edit the .env file to match your database settings. Below are example settings for using SQLite. Adjust according to your database configuration.
DB_CONNECTION=sqlite
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=database/db.sqlite
DB_USERNAME=root
DB_PASSWORD=
- Start the development Server
php artisan serve