Simple Inventory System in PHP MySQL with Source Code

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

About Simple Inventory System PHP Project

In particular, this Inventory Management System project in PHP MySQL focuses mainly on keeping track of inventories. Also, the system displays all the essential records with their respective department. In addition, the system allows managing product categories and their brand names. Evidently, this project contains an admin and employee panel. In an overview of this web application, an employee has limited control over the system. He/she can only manage customers’ orders. Besides, employee users can only list our order details and print their receipts. However, the admin first has to set up employee details as a part of user management for the system.

Administrator Panel, Brands and Category Management

An administrator has full control over the system. He/she can manage brand names, product categories, and more. Here, each and every section has its own respective details such as name and other important details. Likewise, the system allows managing brand records for setting up product detail. Here, the admin has to provide brand names with their availability status in order to add various brand names. Similarly, the system requires fields such as category name and availability status for adding up product categories. In fact, both sections play a vital role during the management of products as the user needs to select brand names with available categories.

Product and Order Management

On one hand, the administrator can simply proceed towards maintaining their products. In order to manage products, he/she has to select any of the available brands, categories, names, rates, quantity with an image. Here, the system lists out products having higher quantities. Moving towards the order section, the admin can simply list our or create new orders. The very first step of adding new order is by providing details such as date, customer information with product details. Speaking of product details means selection of product with quantity. The system then calculates the total bill amount where the admin has to enter the paid amount, status, discount rate. And, as soon as the billing section gets completed the system automatically generates an invoice with all the necessary details.

Report Section and More

On the other hand, the system can generate transaction reports. In fact, this ones a simple and quick report for an overview of the inventory report. The system displays an overall report as soon as the user provides starting and ending dates. With this, the system lists out all the transaction details done within that requested time frame. Here, the generated report includes details such as order date, client name, contact details, total amount with grand total. Besides, the administrator can look up settings where he/she can update passwords. In addition to it, the administrator can add staff users for the management of the system.

Last but not least, a clean and simple dashboard is presented with various color combinations for a greater user experience while using this Online Inventory System Project in PHP MySQL. For its UI elements, a free open-source CSS framework; Bootstrap is on board with some Vanilla CSS too. Presenting a new 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
  • Employee Panel
  • Brand, Category Management
  • Product Management
  • Manage Customer’s Order
  • Generate Report
  • Print Invoice
  • User Management
Project Name:Simple Inventory System
Language/s Used:PHP
PHP version (Recommended):5.6
Type:Web Application
Developer:Kshitij Soni
Simple Inventory 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 System project in PHP MySQL. For this particular PHP project, PHP Version 5 is required because the project does not operate well with the latest PHP version. So, users with the new PHP version (greater than 5) might face various problems while operating it. As a result, you’ll need to manage your PHP version (only if you’re using the latest version) at the moment. Also, Download Free Inventory Management System Project in PHP MySQL Source Code. So, this 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 Simple Inventory System Project in PHP MySQL with Source Code:
Click the Download Button Below to Start Downloading

Note: Only for Educational Purpose


  1. I have a problem with the dasboard: Fatal error: Uncaught TypeError: Unsupported operand types: string + string in D:\xampp\htdocs\SimpleInventorySystem-PHP\dashboard.php:15 Stack trace: #0 {main} thrown in.

    What is the problem?

    1. The only reason for that is your LATEST PHP version. That particular error message pops up only in the latest PHP version. In fact, we’ve recommended using PHP 5.6 in the project’s overview table.

    2. on line 13 of dashboard.php change $totalRevenue = “”; to $totalRevenue = 0; if you use the quote marks it thinks its a string and wont do math with it.

      1. please remove the “+” “plus sign” developer made changes and let you explore the system if you can understand the flow of it. thank me later 😉

  2. How can I fix this problem?:

    Object not found!
    The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

  3. Hi, thanks for the code.

    I’ve a question, how to disable image validation in add product form?

    Best regards.

  4. The rest are working just fine except for the dashboard. How to solve this?

    Fatal error: Uncaught TypeError: Unsupported operand types: string + string in C:\xampp\htdocs\SimpleInventorySystem-PHP\dashboard.php:15 Stack trace: #0 {main} thrown in C:\xampp\htdocs\SimpleInventorySystem-PHP\dashboard.php on line 15

    1. That might be due to your LATEST version of PHP. This project requires PHP 5.6 in order to work properly (as mentioned in the project overview table and text files)

  5. hi
    thx for your code
    everypthing is working on localhost but when i uploaded the code in the server i can’t add another row to add more product

  6. hye….can i know how to fix this? sorry to interrupt
    —- Database: `sinventoryphp`—- ———————————————————— Table structure for table `brands`–CREATe TABLE brands ( `brand _ id` int(11) NOT NUL L, brand_ name` varchar(255 ) NO T NULL, `brand_active` int(11) NOT NULL DEFAULT ‘0’, `brand_status` int(11 ) NOT NULL DEFAU LT 0) ………..

  7. hi code astro..

    its working thank by the way, but i want a user access level, what should I do?

  8. Warning: require_once(db_connect.php): failed to open stream: No such file or directory in C:\xampp\htdocs\SimpleInventorySystem-PHP\core.php on line 5

    Fatal error: require_once(): Failed opening required ‘db_connect.php’………….

  9. Fatal error: Uncaught TypeError: Unsupported operand types: string + string in C…………………………………………….dashboard.php on line 15

    can u fix this error pls? hmm

  10. how can I modify Notice: Trying to get property ‘num_rows’ of non-object in C:\laragon\www\SimpleInventorySystem-PHP\index.php on line 29

  11. A PHP Error was encountered
    Severity: 8192

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


    getting these error

    1. Firstly, please check if the database for this project exists. Make sure that all database connections are correctly configured. If everything’s ok and still you can’t log into the system, then it might be due to different PHP versions. This project is designed for PHP 5 as mentioned in the text files and project overview table.

  12. Please how to fix this other categories are working fine but dashboard shows this message….
    Fatal error: Uncaught TypeError: Unsupported operand types: string + string in C:\xampp\htdocs\SimpleInventorySystem-PHP\dashboard.php:15 Stack trace: #0 {main} thrown in C:\xampp\htdocs\SimpleInventorySystem-PHP\dashboard.php on line 15

Leave a Reply

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