A simple PHP & MySQL web application to help you manage and track your home inventory.
- Add, edit, and delete items in your inventory
- Organize items by category and location
- View all items in a sortable table
- Simple, clean interface
- PHP 7.x or newer
- MySQL or MariaDB
- Web server (e.g., Apache with XAMPP)
-
Clone or download this repository.
-
Create the database:
- Import the provided SQL file (if available) or create a database named
home-inventoryand a table nameditems:CREATE TABLE `items` ( `id` INT AUTO_INCREMENT PRIMARY KEY, `name` VARCHAR(255) NOT NULL, `category` VARCHAR(255) NOT NULL, `quantity` INT NOT NULL, `location` VARCHAR(255) NOT NULL );
- Import the provided SQL file (if available) or create a database named
-
Configure the database connection:
- Edit
config/db.phpwith your MySQL credentials.
- Edit
-
Run the application:
- Place the project folder in your web server's root directory (e.g.,
htdocsfor XAMPP). - Open your browser and go to
http://localhost/Simple-Home-Inventory-Tracker/public/index.php
- Place the project folder in your web server's root directory (e.g.,
Simple-Home-Inventory-Tracker/
│
├── config/
│ ├── db.php
│ ├── delete_item.php
│ └── edit_item.php
├── public/
│ ├── index.php
│ ├── add_item.php
│ ├── inventory.php
├── src/
│ ├── add_item_style.css
│ └── inventory_style.css
│ └── styles.css
└── README.md
This project is licensed under the MIT License.