Electricity Billing System in PHP with Source Code

A simple project based on Electricity Billing System that uses PHP Language. Following PHP project contains all the important features which can be in use for the first year, second year IT students for their college projects. It has a number of important features that will allow all the users to the management of their bills. This system as well as the web application’s concept is all clear, it’s the same as real-life scenarios and well-implemented on it. To download free electricity billing system project in PHP MySQL with source code files, please scroll down to the bottom of this post for the Download button.

About Electricity Billing System PHP Project

Moving on, this electricity billing system project in PHP focuses mainly on dealing with electricity bills management. Also, the system displays all the available costs of each customer. In addition, the system allows adding due fees too. The project is divided into two categories: Admin and User Panel. In an overview of this web application, a user receives all the pending and due bills. After receiving from the system administration, he/she can pay the bills. Each bill presents total units, paying date, due date, and extra due charges. And, the user can simply process the billings online. Though it does not contain online payment integration, the payments will process to the system. Besides, the user can file a complaint about the system administrations. Also, he/she can view their respective transaction history with pending and payable bills too.

Admin Panel

On the other hand, an admin has full control over the system. An admin has the right to manage almost everything. The admin can view all the overview records of the system. This includes the total number of dues, pending amounts, complaints, earnings, and total bills generated. The admin can view all the bills transaction history which displays all the information regarding it. Under each transaction detail, the system differentiates the customers from their current status. This status includes Pending and Processed in terms of their electricity bills. Here, pending means, a customer has not paid his/her bills whereas processed means bills paid.

Generate Bills, Dues and Manage Complaints

The main aspect of this project is to generate bills for the customers. Generally, the system allows generating bills for each customer on monthly basis. In terms of generating bills, the user has to enter the total units consumed by the customer. After that, the system calculates his/her total payable amount for the month with a certain due date. Each customer will have a certain time period to pay their bills. After their due dates, the system will charge extra fees to their respective bills. Also, the admin can manually add due fees to every customer. The admin can have to view overall transactions with their status. Besides, an admin can view all the complaints and process them after solving their problems.

Last but not least, a clean and simple dashboard is presented with simple color combinations for greater user experience while using this Electricity Bill Management System Project in PHP MySQL. For its UI elements, a free open-source CSS framework; Bootstrap is on board with Vanilla CSS too. Presenting a new Electricity Billing System in PHP MySQL Project which includes an admin panel with a user panel that contains the least but essential features to follow up, and a knowledgeable resource for learning purposes.

Available Features:
  • User Panel
  • Admin Panel
  • Customer Management
  • Generate Bills
  • Add Due Bills
  • Pay Bills
  • View Transaction History
  • File Complaints
  • Complaint Management
  • Total Transaction Amount
Project Name:Electricity Billing System
Language/s Used:PHP
PHP version (Recommended):5.6 or Newer
Type:Web Application
Developer:Lakshmi Narayana
Electricity Billing System PHP Project Overview

Instructions: How to Run?

  • After you finish downloading the project, unzip the project file and head over to your XAMPP directory.
  • There you’ll find a folder naming “htdocs”.
  • Inside the “htdocs” folder, paste the project folder (not the .zip one, but the extracted one).
  • Open your favorite browser; we recommend using Google Chrome or Mozilla Firefox.
  • Then, go to URL “http://localhost/phpmyadmin“.
  • Create a Database with a name that is provided inside the “01 LOGIN DETAILS & PROJECT INFO.txt”.
  • Click on the “Import” tab and choose the database file (.sql) which is provided under the folder naming “DATABASE FILE”.
  • After setting up all these, go to URL “http://localhost/[ PROJECT_FOLDER_NAME ]/“
  • All the login details are provided inside the project folder, check that out and enter in order to use it.

And there you have it, a full setup of the Electricity Billing System Project in PHP MySQL. For this particular PHP project, PHP Version 5.6 or Newer is required because the project might not operate well with the oldest PHP version. So, users with the oldest PHP version (less than 5.6) might face various problems while operating it. As a result, you’ll need to upgrade your PHP version (only if you’re using the oldest version) at the moment. Download Free Online Electricity Billing System Project in PHP MySQL Source Code. So, this billing system PHP project is a basic project for all the beginner levels that broads vast knowledge into such PHP web applications. In conclusion, this whole PHP project with free source code is an absolute project and a meaningful way for the users to learn and explore more about it.

Free Download Electricity Billing System Project in PHP MySQL with Source Code:
Click the Download Button Below to Start Downloading

Note: Only for Educational Purpose


  1. I can run electricity billing system project
    But in .sql file i have an error. Plz suggest me the solution.


    Error 1304 (42000) at line 27: PROCEDURE unitstoamount already exitsts

  2. hey, thank you so much for the help.
    when i login to admin, i go to index.php and it is a blank white page. please guide me how to overcome this.

  3. This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
    I got this error while importing ….pls help me.

  4. when i am importing the sql file into the phpmyadmin , it is showing this error:
    #1064 – You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘CREATE DEFINER=`root`@`localhost` PROCEDURE `unitstoamount`( IN units INT(14)…’ at line 5

  5. Fatal error: Uncaught mysqli_sql_exception: No connection could be made because the target machine actively refused it in C:\xampp\htdocs\ebill\Includes\config.php:7 Stack trace: #0 C:\xampp\htdocs\ebill\Includes\config.php(7): mysqli_connect(‘localhost’, ‘root’, Object(SensitiveParameterValue), ‘ebillsystem’) #1 C:\xampp\htdocs\ebill\index.php(2): require_once(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\ebill\Includes\config.php on line 7

Leave a Reply

Your email address will not be published. Required fields are marked *