Online Voting System in PHP CodeIgniter with Source Code

A fully functional project based on Online Voting System which uses PHP Language with CodeIgniter Web Framework. Following PHP CodeIgniter project contains all the top and essential features which can be in use for the second year, final year IT students for their college projects. It has a large number of features that will allow users to manage candidates, voting, and voters. 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 Online Voting System project in PHP CodeIgniter Framework with source code files, please scroll down to the bottom of this post for the Download button.

About Online Voting System PHP CodeIgniter Project

Moving on, this Voting System project in PHP CodeIgniter focuses mainly on dealing with voting, and their candidates, voters, etc. Also, the system displays all the available information of voting their vote counts, voters, and non-voters. In addition, the system allows managing candidates by entering their name, slogan, and photo. The project is divided into two categories: Admin Panel and Voters Panel. In an overview of this web application, the admin has full access to the system. The admin has the right to manage each and every candidate and voting. In order to organize voting, an admin has to enter a title and select available candidates. Here, the system contains certain validations like the admin must select multiple candidates to proceed. In terms of voters account, the admin needs to create them by providing name and username.

Voters Panel

A voting system is incomplete without a voters panel that will allow them to cast votes according to their choice. For the voter’s login, the default password for each voters panel will the same as their usernames. And for the first login, the system asks the voters to change their password to continue. As soon as the user changes his/her password, the system redirects the user to the voting panel. Under the voting panel, the voter will be able to see current voting with title and their respective candidates. The system will allow voters to vote for any one of the candidates and asks for confirmation before submitting. As soon a voter casts his vote, he/she gets logged out automatically within 2 minutes. And then, the voter won’t be able to cast vote for the same voting. In summary, these validations help to prevent multiple votes from a single account.

Votes Count and Settings

Additionally, the admin panel also consists of viewing the total votes count for each candidate. These votes count can be seen from the voting section. With this, the admin can have a look at their voters and non-voters for the organized votes. But, the admin cannot view voter’s choices as it’s their own privacy. Another main point of votings is that the user can add votings sessions one at a time. This means an admin cannot create multiple voting sessions at the same time. An admin must delete the existing voting session before conducting a new one. But, the admin can modify the existing voting session anytime. Besides, the admin can update their profile, change passwords, manage administrators, and reset the application. By resetting the application, the system erases all the data except for the admin.

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

Available Features:
  • Admin Panel
  • Voters Panel
  • Candidates Management
  • Manage Voting Sessions
  • Voters Management
  • Cast Vote
  • Voting Validations
  • Account Settings
  • User Management
  • Reset Application
Project Name:Online Voting Application
Language/s Used:PHP with CodeIgniter Web Application
PHP version (Recommended):5.6.3 and Newer
Type:Web Application
Developer:Muhammad Zulfi Izzulhaq
Voting System PHP CodeIgniter Project Information

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 Voting and Polling System project in PHP CodeIgniter. For this particular PHP project, PHP Version 5.6.3 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 Voting System Project in PHP MySQL CodeIgniter Source Code. So, this voting management system is a fully functional project for all the beginner as well as the intermediate 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 Online Voting System Project in PHP MySQL CodeIgniter with Source Code:
Click the Download Button Below to Start Downloading

Note: Only for Educational Purpose


    1. That’s what happens when you try to log in as voter USING Admin Credentials. Please do check the demo video carefully, you’ll get to know how to use the system properly. The mentioned username “liam” is for the admin panel.

  1. I added voter details and it is also updated in database successfully but Voter list is not showing any data from database. Please help.

  2. Hy dear , i tried uploading the site to cpanel. but i dint see the file where i can configure e.g localhost, Username , password..

    kindly help out.. i have uploaded file to cpanel but cant see where connect the file to database (config php )

    Thank you



      FILE NAME:DB_driver.php

Leave a Reply

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