A simple Inventory Management webapplication built using PHP and MySQL.
Requires XAMPP or similar software, the instructions are set according to XAMPP' method
- Download the project's zip folder.
- Copy the contents into the htdocs folder of your XAMPP installaton
C:\XAMPP\htdocs\
- Run the MySQL server in XAMPP.
- In your browse go to address
localhost/phpmyadmin
Default Method
- Create a database called
clausia_inventory
. - Go to the import tab and import the clausia_inventory.sql file.
- Leave everything to default, scroll down to the bottom and click on the Go button.
Custom Method
- Create a databse and give it your own name.
- Follow steps 4 and 5 from the Default Method.
- Go to the file
model/database.php
and replace the databse name in line 3 after thedbname
parameter
$dsn = "mysql:host=localhost;dbname=clausia_inventory";
- If your MySQL server has a custom username and password, The defaults are
username = root
and no password, set the username in line 5 and the password in line 7.
This program is built with full CRUD functionality to Insert, Select, Update, and Delete the items as well as the categories. Similarly, the search functionality allows the user to quickly search and operate on the item.