Skip to main content

Simple POS and Inventory System using PHP with Source Code


Hi Guys! I have here a Simple POS and Inventory System that I have developed in PHP. This system has 3 types of users which are the Admin, Customer, and Supplier. The Admin user is in charge of maintaining the main list such as the customers and supplier list. This user also can add new products for the supplier and has access to viewing the reports. The supplier has an access to add new products under them and view reports. While the customer user has access to a simple POS/Ordering feature for placing their desired items. I have used Bootstrap and SB Admin for the template/Design for this simple project.



  • Manage Customer
  • Manage Supplier
  • Manage Products
  • View Reports
    • Sales
    • Inventory


  • Manage Products
  • View Reports
    • Sales
    • Inventory


  • POS/Ordering
  • Shopping Cart
  • Search Product
  • Checkout
  • Purchase History

How to Run


  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)


  1. Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. Extract the downloaded source code file.
  3. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming "pos".
  6. Import the provided SQL file. The file is known as "pos.sql" located inside the "db" folder.
  7. Browse the Simple POS and Inventory System in a browser. i.e. http://localhost/POS_inventory



Username: admin
Password: admin


Username: user
Password: user


Username: supplier
Password: supplier


I hope this will help you with what you are looking for and I hope you will learn something useful with simple projects for your future projects.

If you have any comments, suggestions, or questions, feel free to comment below or message me.

P.S. Don't forget to comment if there are any bugs so that I can correct it.

Happy Coding :)

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 for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


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.


Submitted byMohamed Rabeek (not verified)on Tue, 09/19/2017 - 13:52

Bro Very nice Work. You have any matrimonial site script?
Submitted byvinladen (not verified)on Mon, 09/25/2017 - 14:57

Thanks bro for this..this will help full a lot for aspiring WebDev..good job
Submitted byTiti AM (not verified)on Sun, 02/04/2018 - 07:33

Hi, thank you for sharing; but I have this error: mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, Can you please help me Thanks
Submitted byynotnormandy22… (not verified)on Tue, 08/28/2018 - 15:54

Bro please help can you put sign up form to the user's navigation? that's my only problem so that customers can register too and so that the customer's cant shop without signing up not only the administrator can add users but also users cant create their own account. I hope you get my point sir Neovic Rafinian Devierte . Please help my email add is [email protected] thank you po sa lahat marami kanang natutulongan SALAMAT :)
Submitted bybryan chua (not verified)on Wed, 01/09/2019 - 14:43

hi, im downloaded your work but i dont know how to use it. because all i see are php files. can you please show me how to use this inventory system? im not a coder. im just someone searching the internet for a system. I just want to computerize my inventory (not online) and put a price in it (for my people to know the price their selling). please contact me [email protected] thank you very much
Submitted byZemmaon Sun, 05/12/2019 - 15:08

Hai I would like to ask. If I want to add more input other than Qty (for ex, size option) when I click add to cart, where should I edit the code. Thank you.
Submitted bycarmela (not verified)on Fri, 11/29/2019 - 16:24

pa tulong naman po ng codes ng reservation thanks po. need ko po kasi ilagay sa system ko yung reservation na yan. kasi po yung system ko point of sale peru bakeshop sya na reseller.
Submitted byRev1395 (not verified)on Sat, 11/30/2019 - 07:42

Excellent work with this one sir, could you show how to bring sign up at the login page as an option? Thank you!

Add new comment