Sales and Inventory System in PHP CodeIgniter with Source Code

A fully functional project based on Sales and Inventory Management System which uses PHP Language with CodeIgniter Web Framework. Following PHP CodeIgniter project contains all the important 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 their every inventory sales transaction, and much more. 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 Sales and Inventory System project in PHP CodeIgniter Framework with source code files, please scroll down to the bottom of this post for the Download button.

About Sales and Inventory System Project

Moving on, this Sales and Inventory System project in PHP CodeIgniter focuses mainly on dealing with transactions with respect to total sales, and so on. Also, the system displays all the available information of products, sales, transactions, etc. In addition, the system displays sales records using bar graphs representation too. The project is divided into two categories: Admin and Employee Panel. In an overview of this web application, the admin has access to all the features present within the system. The admin has the right to manage inventories by inserting item code, name, price per unit, total quantity, and description. Also, with the addition of each inventory item, the system automatically calculates total worth products and displays them to the user.

Sales Management and Receipts

After inventory management, the user can simply proceed towards managing sales. For this, the system user has to fill up the number of fields, but at first, the user needs to enter an item code for the transaction of each required item. With each item code, the system displays the product’s name, its available quantity, and price per unit. And finally, the administrator has to enter the customer’s name, contact, and email with product quantity, payment method (Cash, POS, Cash, and POS), and enter tendered money. After filling up all these forms, the system generates invoice receipts for the sales which include the company’s information with each sale details. Under the sales section, the user can check the receipt of each item by clicking on the code id of each available record.

Analytics and Sales Summary

On the other hand, all the sales records are visualized using different charts such as Pie-Chart and Bar Graphs. In terms of Pie-Chart, the system displays the proportion of total payments in Cash, POS, and Cash and POS. Bar Graph represents the total number of sales each month. As you can see now, this whole system calculates sales records of each year, months with addition to summaries of each sales item. Under the dashboard, the admin can view the highlight of data regarding the high/low demand products, highest/lowest-earning products, daily transactions, transactions by month, and year. Lastly, the system automatically calculates the total sales amount within the 24hours and displays it under the navigation bar. Besides, this inventory and sales management project contain features such as database management where the admin can import SQLite database and manage the system administrator.

Employee Panel and Others

Talking about the employee panel, an admin has the right to manage an employee’s account for the system. The system user can view all the transactions, receipts, charts, summaries as the admin, but he/she cannot manage inventory items, database, and users. The main duty of an employee is to manage the sales transaction. Besides, the administrator, as well as employee, can sort and search transaction details on basis of their product names, id, and export each available data. An employee account makes it easier for other users to manage the surface of the system without hampering any other elements of it.

Last but not least, a clean and simple dashboard is presented using SBAdmin Bootstrap Admin Dashboard Template with various color combinations for greater user experience while using this Sales and Inventory Management 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 Online Sales and Inventory Management System Project in PHP MySQL CodeIgniter which includes an admin panel with an employee panel that contains all the top and essential features to follow up, and a knowledgeable resource for learning purposes.

Available Features:
  • Admin Panel
  • Employee Panel
  • Inventory Management System
  • Manage Sales Transactions
  • Database Management
  • System User Management
  • VAT, Discounts
  • Analytics – Bar Graph and Pie-Chart
  • Sales Summary – High/Low Product Demands
  • Sales Summary – High/Low Earning Products
  • Daily Transactions
  • Transactions by Month, Year
  • Generate Sales Report
  • All-Time Total Earnings
Project Name:Sales and Inventory Management System
Language/s Used:PHP with CodeIgniter Web Framework
PHP version (Recommended):5.6.3 or Newer
Type:Web Application
Developer:Amir Sanni
Online Sales and Inventory Management System – 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 Sales and Inventory 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 (lower 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 Sales and Inventory Management System Project in PHP MySQL CodeIgniter Source Code. So, this sales and inventory 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 Sales and Inventory System Project in PHP MySQL CodeIgniter with Source Code:
Click the Download Button Below to Start Downloading

Note: Only for Educational Purpose


  1. Hello sir, Good day!
    How can I access the event log an report? I just delete the comment in the main.php and eventually report and event log just added to the side navbar pills.

    Whenever I clcik report and event log in the side navbar, an error was encounterd

    Weather it state that
    Unable to load request file : report.php /
    Unable to load request file : eventlog.php

  2. Thanks for the quick response. I tried changing the app folder name in the config file and also in htdocs but it throws error 404 not found when I try to login. Please what should I do?

  3. Good morning, please each time I try logging in, it keep saying 404 not found. and I am using the username name and password you provided, please help, thanks.

  4. Hello, thanks for your work.
    please whenever I enter the login details you provided, it would show a 404 error. please how do I clear the 404 error and login Successfully?

Leave a Reply

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