Smart Fuel Station Management System is a web-based petrol pump management application developed using Core PHP and MySQL for managing fuel sales, inventory, purchases, employees, attendance, customers, vehicles, suppliers, expenses, payments, reports, invoices, and daily station operations.
Smart Fuel Station Management System in PHP and MySQL is a web-based petrol pump and fuel station management application developed using Core PHP and MySQL. It provides a centralized platform for managing daily fuel station operations, including fuel sales, inventory, purchases, employees, attendance, customers, vehicles, suppliers, expenses, payments, and reports.
The system provides separate access for Super Admin, Admin/Station Manager, and Employee/Fuel Attendant. It includes fuel type, pump, nozzle, sales, stock, customer, vehicle, supplier, expense, payment, daily closing, reporting, invoice, notification, activity logging, and security features.
| Technology | Details |
|---|---|
| Backend | Core PHP 8+ |
| Database | MySQL 8+ |
| Database Connection | PDO |
| Frontend | HTML5, CSS3, JavaScript |
| UI Framework | Bootstrap 5 |
| Charts | Chart.js |
| Icons | Font Awesome |
| Frontend Library | jQuery |
| Tables | DataTables |
| Web Server | Apache |
| Local Environment | XAMPP |
| Database Administration | phpMyAdmin |
The system starts with user authentication and role-based access. Super Admins have complete control of the system, while Station Managers manage daily station operations and Fuel Attendants handle attendance and fuel sales.
During a fuel sale, the user selects a pump and nozzle, enters the closing meter, and the system calculates litres sold from the difference between the closing and opening meter. The fuel price, discount, tax, and payment method are then applied. The system updates the nozzle meter, deducts fuel from stock, creates a payment record, generates an invoice, and records the activity in the audit log.
The daily closing module calculates expected cash using cash sales and expenses, compares it with actual cash, and calculates the cash difference. Daily sales can then be locked to prevent unauthorized modifications.
Prerequisites: - XAMPP - PHP 8+ - MySQL 8+ - phpMyAdmin - Web Browser Step 1: Install XAMPP Install XAMPP on your computer. Step 2: Copy the Project Copy the complete project folder into: C:\xampp\htdocs\fuel-station Step 3: Start Apache and MySQL Open XAMPP Control Panel and start: - Apache - MySQL Step 4: Open phpMyAdmin Open phpMyAdmin from your browser. Step 5: Import Database Import the following SQL file: database/fuel_station.sql Step 6: Configure Database Open: config/database.php Configure the database name, username, password, and host according to your local MySQL setup. Step 7: Configure Base URL Open: config/config.php Verify the application base URL. Step 8: Open the Application Open: http://localhost/fuel-station/ Step 9: Login Use one of the available demo accounts to log in. For production use, change the demo account password.
FAQ for this project coming soon.
No reviews yet. Be the first to review!