Inventory Management System in PHP CodeIgniter with Source Code

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

About Inventory Management System PHP Project

In particular, this Inventory Management System project in PHP CodeIgniter focuses mainly on keeping track of inventories as well as their sales. Also, the system displays all the categories with their respective details. In addition, the system allows managing client orders. Evidently, this project only contains an admin panel. In an overview of this web application, an administrator has full control over the system. He/she can manage items, categories, and elements. Here, each and every section has its own respective details such as name and other important details. However, the admin has to provide certain details related to size and others under the elements section. By default, the system automatically sets these element fields under the customer order section.

Warehouse and Product Management

Likewise, the system also allows managing warehouse records. For this, the user has to provide warehouse names. Also, this particular section is a kind of mandatory field for managing product details. Meanwhile, the completion of all these fields leads us to product management. In fact, this section requires a number of details for its management. It includes an image of the product with its name, price, description, categories, stocks, warehouse selection, and other elements. Here, the elements can be referred to as the size or color of the product. The user can select numerous categories, elements under the same product. With it, the system automatically displays an alert tag as soon as a particular product runs low on stock.

Customer Order Management

On the other hand, another main feature of this inventory system is to manage customers’ orders with respect to its sales. Nevertheless, the admin can proceed with the billing side of customers’ orders for sales management. Here, an admin needs to provide the customer’s name, address, contact with the selection of product items and it’s quantity. Also, the system allows adding discount amounts while managing it. Else, all other amounts such as VAT, service charges are automatically added by the system during its final bill calculation. At first, the system lists each record as unpaid status and the user has to update records according to its bill status. In addition, the admin can print out invoices for each sale record. With such management, the system lists out a clear overview of overall paid and pending bills for the administrator.

Permissions and User Management

Well not just it, but it also contains some additional features which are surely and equally important for the end-users. An admin has the right to grant and manage permissions for his/her employees or other users. There are lots of actions under this system, which the administrator can manage for the other members. Here, the user can create a set of rules for other users by simply selecting certain access rules. With it, now the administrator can manage other users too. In fact, the user has to assign each user with their respective permissions. As a result, this set of rules and permissions will restrict the other users from accessing the detailed information and insights of the system. Besides, the user can set up personal company information under the company settings.

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

Available Features:
  • Admin Panel
  • Manage Items, Elements, Categories, Warehouse
  • Product Management
  • Manage Product Sales
  • Paid/Unpaid bills
  • Discount Services
  • VAT, Service Charge Inclusion
  • Print Invoice
  • View Total Sales
  • Set Permissions
  • User Management
  • Search Records
  • Setup Company Details
Project Name:Inventory Management System
Language/s Used:PHP with CodeIgniter Web Framework
PHP version (Recommended):5.6, 7.4
Type:Web Application
Developer:Mohammed Shafraz
Inventory Management 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 Inventory Management System project in PHP CodeIgniter. For this particular PHP project, PHP Version 5.6 or Newer is required because the project does not operate with the oldest PHP version. So, users with the oldest PHP version (older than 5.6) might face various problems while operating it. As a result, you’ll need to manage your PHP version (only if you’re using the old version) at the moment. Also, Download Free Inventory Management System Project in PHP MySQL CodeIgniter Source Code. So, this online inventory system PHP project is a fully functional project for all 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 Inventory Management System Project in PHP MySQL CodeIgniter with Source Code:
Click the Download Button Below to Start Downloading

Note: Only for Educational Purpose


      1. An uncaught Exception was encountered
        Type: RuntimeException

        Message: Unable to locate the model you have specified: Model_auth

        Filename: /opt/lampp/htdocs/Inventory_CI/system/core/Loader.php

        Line Number: 344


        File: /opt/lampp/htdocs/Inventory_CI/application/controllers/Auth.php
        Line: 12
        Function: model

        File: /opt/lampp/htdocs/Inventory_CI/index.php
        Line: 315
        Function: require_once

      1. yes pls help me right now this is going to help me in fyp,,,

        An uncaught Exception was encountered
        Type: ParseError

        Message: syntax error, unexpected token “if”

        Filename: E…………….

      1. why the reports are missing in this project?
        that’s actually a main feature :/
        how can i add reports in it?

  1. thank u so much for all your efforts
    please is there a way to change the language of the webapp to french?
    I really tried to change some sentences but the code isn’t really clear to me

  2. i did change the currency in company but it didn’t work the symbol stays the same and i don’t know where to change in code please can u help?

    1. Unable to connect to your database server using the provided settings.

      Filename: C:/xampp/htdocs/posci/application/core/MY_Controller.php

  3. I’ m getting Many Errors even after changing php version to 5.6.3

    A PHP Error was encountered
    Severity: 8192

    Message: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead………………….

    A Database Error Occurred
    Unable to select the specified database: posci……………

    1. I don’t think you’ve properly switched to PHP 5.6. In fact, you don’t even have to switch as this project also works on PHP 7.4
      Also, make sure about your db connection cause there’s an error line referring to your db “Unable to select the specified database:posci…”

  4. Getting error like this

    A PHP Error was encountered
    Severity: Warning

    Message: mysqli::real_connect(): (HY000/1045): Access denied for user ‘root’@’localhost’ (using password: NO)……………….

    1. That’s because you haven’t configured the project yet. Your server has different settings than the one we’ve provided. So, please configure first and run the project.

    2. Same with me.. i followed the instructions carefully and my php version is higher than required.

      A PHP Error was encountered
      Severity: 8192

      Message: Creation of dynamic property CI_URI::$config is deprecated

      Filename: ……………….

        1. It changes, but the browser does not show the result due to cache. So, please try clearing up the cache or simply check the results using Incognito Mode.

  5. I cannot change the password i tried changing it form the user table how can i change the password?

      1. What type of encrypted password…?
        apparently, there are different types of encrypted passwords.

        How do we guarantee that the changed details will have the same privileges as the admin?

          1. Regarding access level, check out the “Permission” section in the system. There you can set up a group according to your own selection of system access.

  6. My php version is 7.4.29 , but still i got errors like

    A PHP Error was encountered
    Severity: 8192

    Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice…………………

    what to do with this error?

  7. How can we change the default currency symbol for pricing?
    also, how can we clear the cache of the code especially in CSS so that we can change its UI?

    1. Go through the code lines in order to change the currency. And regarding cache, just clear the browser cache and you’ll see changes or simply use incognito mode for each.

    1. What do you mean by menu price? You can simply delete a product from the products section! With it, all the information related to it will be deleted.

  8. Please help me, how to display elements, items and attributes in manage product view?

    I’ve tried adding in the product source code but the table doesn’t add up


    1. I’ve tried adding the SKU as per the instructions in the code, but it’s not working. SKU is not in product manage view

    2. Well, the product section shows all the required information. You can also check our demo video on this project.
      But in your case, what’s the error message?

      1. actually there is no error, the program runs fine. But I want to add a description table in manage product. Where can I edit the code? I’ve tried to add or edit this control_product, but the table description can’t be added or overwritten with the existing table. by the way thanks for the free source code.

    1. Not sure, but it looks like you’ve changed the name of the project folder without configuring it and that’s the reason the project was unable to locate the model

  9. s’il vous plaît aidez moi, je n’arrive même pas à accéder à la page de connexion. il s’affiche toujours des erreurs comme suite:
    A PHP Error was encountered
    Severity: 8192

    Message: Return type of CI _Session_files_ driver::open($save_path, $name………………………………….
    Function: require_once

    Que faire pour que ça marche?

  10. i have problem in database – invalid H=JSON response.for more information about this error
    i don’t know how i fixed

  11. Hi, I am getting this error. How can I solve this?
    A PHP Error was encountered
    Severity: 8192

    Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

    Filename: drivers/Session_files_driver.php

    Line Number: 132
    Please help. and I cannot view the html, css, JavaScript part from the code please provide that as well

    1. This looks like an error coming from your LATEST version of PHP. This particular project is tested only with PHP 5 and 7, so the latest PHP 8 might create these problems. Still, you can find related solutions for these problems online!

  12. not working, this error shows up

    A PHP Error was encountered
    Severity: 8192

    Message: Creation of dynamic property CI_URI::$config is deprecated

    Filename: c……………………………..
    Function: require_once

  13. I upload this project to my hosting and facing this issue when trying to logged in… Please help me how to remove this error :/
    A Database Error Occurred
    Error Number: 1146…………………..

  14. Error Number: 1064

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘groups ON……………….

    Line Number: 691

  15. A PHP Error was encountered
    Severity: 8192

    Message: Creation of dynamic property CI_URI::$config is deprecated

    Filename: core/URI.php

    Line Number: 101


    File: C:………………………….

  16. please help me
    A PHP Error was encountered
    Severity: 8192

    Message: Creation of dynamic property CI_URI::$config is deprecated


    this error is occuring

  17. the project is great
    I appreciate it but one question
    since your pasting it with php htdocs
    it means it’s not built with frame work?
    I mean my supervisor wants a project that was either built with laravel the frame work (not the language php he says it’s not suitable to defend with thesis as it’s not complicated ) or any other language ones of flutter python

    so is this project suitable for the demands of the supervisor?

  18. is there a video on how to install and run it
    I used Visual studio and it’s asking for many other things

    please let me know if there is any youtube video on how to run or on PC or web

  19. The following is the error i am getting after creating the database and before this step “After setting up all these, go to URL “http://localhost/[ PROJECT_FOLDER_NAME ]/“”.
    what do i do?
    Error: An uncaught Exception was encountered
    Type: mysqli_sql_exception

    Message: Unknown database ‘inventorymgtci’

    1. But the error message says there no any database named “inventorymgtci”.
      Make sure you’ve created a db named “inventorymgtci” and imported the sql file before running the project.

  20. could you tell me the exact version.because i have tried on both 5.6 and 7,4 .but, it shows an error or ortherwise shows that the page is not found.

  21. How do I fix this?

    Not Found
    The requested URL was not found on this server.

    Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 Server at localhost Port 443

Leave a Reply

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