This is a Simple PHP Project entitled Gas/Petrol Station Management System. This is a web-based application that provides the Gas or Petrol Station with an automated platform to manage their sales, customer credits, and customer payments. The application was developed using PHP and SQLite3 Database. This can help the management to store their records and easily retrieve the data. This has a simple user interface and user-friendly functionalities.

I developed this project using the following:

  • XAMPP v3.3.0 as my local webserver that has a PHP Version 8.0.7
  • PHP Language
  • SQLite Database
  • HTML
  • CSS
  • JavaScript
  • jQuery
  • Ajax
  • Bootstrap
  • and more…

About the Gas/Petrol Station Management System

This Gas/Petrol Station Management System has 2 types of system users which are the Admin and the Cashier. The Admin User is in charge of managing the important list in the system such as the petrol type and customer list. They are only the ones who can view, edit, or manage the customer credit, and payment details. The cashier user can only access the point of sale feature and can generate sales reports that he/she processed on the system. The POS feature has some functionalities that can help the management to calculate the customer transaction. This project generates a printable date-wise sales report and receipt.

Project Features

Admin Side

  • Secure Login/Logout
  • Home Page
  • Customer List (CRUD)
  • POS or Point Of Sales
  • View Customer Debts and Payment List
  • Add New Customer Payment
  • Generate Printable Receipt
  • Generate Printable Date-wise Sales Report
  • Manage Petrol Type List (CRUD)
  • Manage User List (CRUD)
  • Manage Account Credentials


  • Secure Login/Logout
  • Home Page
  • POS or Point Of Sales
  • Generate Printable Receipt
  • Generate Printable Date-wise Sales Report processed by her/him
  • Manage Account Credentials

How to Run


  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)


  1. Open your XAMPP/WAMP’s php.ini file and uncomment the sqlite3. Then, save the file.
  2. Open your XAMPP/WAMP’s Control Panel and start Apache.
  3. Extract the downloaded source code zip file.
  4. If you are using XAMPPcopy the extracted source code folder and paste it into the XAMPP’s “htdocs” directory. And If you are using WAMPpaste it into the “www” directory.
  5. Browse the Gas/Petrol Station Management System in a browser. i.e. http://localhost/psms/.

Default Admin Access

Username: admin
Password: admin123