A simple web-based inventory management system built with PHP and MySQL that helps track products, sales, and suppliers.

- Dashboard with key metrics and alerts
- Product management (add, edit, delete)
- Sales tracking and history
- Supplier management
- Low stock alerts
- Responsive Bootstrap UI
- PHP 7.4+
- MySQL 5.7+
- Web server (Apache/NGINX)
- MAMP or similar local development environment
- Clone this repository to your web server directory:
git clone https://github.com/yourusername/inventory-management-system.git-
Create a MySQL database named
inventory_db -
Update database credentials in
includes/config.php:
$host = 'localhost:3307';
$dbname = 'inventory_db';
$username = 'invent';
$password = 'root';- The tables will be created automatically on first run
Access the system through your web browser:
http://localhost/inventory-system/
- Dashboard: View key metrics and recent activities
- Products: Manage product inventory
- Sales: Record and track sales
- Suppliers: Manage supplier information
- Alerts: Monitor low stock items
/inventory-system/
│── index.php # Dashboard
│── products.php # Product management
│── sales.php # Sales tracking
│── suppliers.php # Supplier management
│── alerts.php # Stock alerts
│── includes/
│ │── config.php # Database connection
│ │── header.php # Common header
│ │── footer.php # Common footer
│── assets/
│ │── css/
│ │ │── style.css # Custom styles
│ │── js/
│ │ │── script.js # Custom JavaScript
This project is licensed under the MIT License - see the LICENSE file for details.
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
Reiss Niih Boafo
For support, please open an issue in the GitHub repository.