Inventory Management System in PHP with Source Code

Language

This Inventory Management System was develop using PHP and MySQL Database. It is a simple system created using HTML, CSS design, JavaScript, Bootstrap, and Ajax. This Inventory management system is all about selling and buying products. It is a simple project that monitors the stock quantity. This system has a pleasant user interface and it is user-friendly. The system generates reports for the list of Items, Sales, Vendor, Customer, and Purchases. Each of these reports can be printed and exported to CSV, Excel, and PDF.

Features:

  • User Registration
  • User Login
  • Item Management
  • Purchases Management
  • Sales Management
  • Customer Management
  • Generates Reports

How to Run

Requirements:

  • Download and Install the latest version of XAMPP.
  • Download and Extract the source code zip file. (download button is located below)

Installation

  1. Open the XAMPP's Control Panel and start the "Apache" and "MySQL".
  2. Copy the extracted folder to XAMPP's "htdocs" directory. (C:\xampp\htdocs)
  3. Open a web browser and browse the PHPMyAdmin. (http://localhost/phpmyadmin)
  4. Create a new database naming "shop_inventory".
  5. Import the SQL file. The SQL file is known as "shop_inventory.sql" and this is located at the "inc/config" directory of the extracted folder.
  6. Open a web browser and browse the web application. (http://localhost/inventory-management-system)

Sample Access

Username: admin
Password: admin

That's it you can now test the Inventory Management System features and functionalities. I hope this project will help you with what you are looking for and also for your future PHP Projects.

VIEW DEMO

Subscribe to my YouTube Channel: 1 Source Code
Personal blog: 1sourcecodr.blogspot.com
FB Pages: 1source code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Submitted byhex_ray (not verified)on Sun, 12/26/2021 - 17:20

Hey, thank you for posting this, this is really great to learn! What do I have to do, if I want to add another field to an item, let's say a mac address? I added another column to the item table and modified the html and php source. But the field 'mac address' is not recognized and the field in the table stays empty
Submitted byRolf Kunst (not verified)on Thu, 04/28/2022 - 21:16

In reply to by Abdul qayyom (not verified)

Hi, If you have a MySQL and PHP server running, you copy the contents in a folder. If you copy the contents to the correct folder, you probably know which one it should be, then you edit the file "constants.php" with the data known to you; database name, username, password etc. You import the sql file into your newly created database, and then it already works.
Submitted byRolf Kunst (not verified)on Thu, 04/28/2022 - 21:40

Is there a way to customize users? Or does this have to be done directly in the database. And is it possible to edit additions? And brands/companies? Is there a backend in the system to adjust this?
Submitted bySanket Devhare (not verified)on Tue, 08/02/2022 - 19:41

Hi I downloaded this project and I want to edit this according to my requirements please anyone helps me regarding this project? this is an urgent matter, compensation will be provided.
Submitted byBonaventure M'sonoi (not verified)on Fri, 09/02/2022 - 22:25

In reply to by Sanket Devhare (not verified)

I'm also wondering the same thing, can this be answered by the admin please
Submitted byJeremiah Muya (not verified)on Sun, 01/01/2023 - 20:35

In reply to by Bonaventure M'sonoi (not verified)

I can do that
Submitted byAnonymous (not verified)on Sat, 01/21/2023 - 16:13

It's a good project with a big potential but allow me to suggest you that it's be better with two or three sides. Admin, User and maybe customer.
Submitted byhow to edit o… (not verified)on Fri, 02/03/2023 - 17:30

How to edit or delete in item or customer detail in pop up as we can add a button of Edit or delete
Submitted byHemant Kumar Pathak (not verified)on Mon, 02/27/2023 - 04:49

not able to login no password working you gave database name shop_inventory but in program it says that ims_db database require. i have created other entry for makeing user but still not working...tell me the suggestion and solution.
Submitted byManisha Sirvi (not verified)on Wed, 03/08/2023 - 13:46

Hi.....I have to insert a background image to login page ....how to do this?....there are only js and php files for login ....and html file for login page is not present...how should I edit... please help
Submitted byAdam Malik (not verified)on Thu, 03/30/2023 - 16:20

Great work! but I think you should add category "REPORTS" where is you can print out sales/orders etc by week or month or with the user customization by date
Submitted byHow to add das… (not verified)on Sun, 04/30/2023 - 09:44

How to add dashboard on the system?
Submitted bylilmocoblaze (not verified)on Sat, 05/20/2023 - 03:31

Hi! Whenever I try to upload an image I get the error message "Image could not be uploaded", is there any way to fix it?

Add new comment