Simple Bakery Shop Management System in PHP/OOP Free Source Code

Language

Introduction

This project is entitled Bakery Shop Management System. This is a simple web-based application that was developed using PHP/OOP and MySQL Database. This project is an automated platform for bakery shops that can help them to manage their stocks and day-to-day transaction with their customers. The system allows the management to store their product stocks and has a POS Feature. It has a simple and pleasant user interface using Bootstrap v5 Framework. It is easy to use and has user-friendly features and functionalities.

About the Bakery Shop Management System

I developed this project using the following:

  • XAMPP v3.3.0 as my local webserver that has a PHP Version 8.0.7
  • PHP Language
  • MySQL Database
  • HTML
  • CSS
  • JavaScript
  • jQuery
  • Ajax
  • Bootstrap

This Bakery Shop Management System in PHP and MySQL Database is only accessible to the Bakery Shop's Management. The system requires user credentials in order for the management can access the data, features, and functionalities. It has 2 types of user roles which are the Administrators and Cashiers. The Administrator Users are the ones who can manage the products, stocks, and categories. They also have the privilege to access and manage all the features and functionalities of what the system does. The Cashiers are only allowed to manage transactions and list the sales report of their transactions. This has a Point of Sale feature to manage the shop's daily sales. It has also a feature that generates a printable receipt and date-wise sales report.

Features

Admin-Side

  • Secure Login/Logout
  • Home Page
    • Summary
    • Inventory/Available Stocks List
    • Restock Products
  • Maintenance
    • Add New Category
    • List All Categories
    • View Category Details
    • Update Category Details
    • Update Category Status
    • Delete Category
  • Manage Product
    • Add New Product
    • List All Products
    • View Product Details
    • Update Product Details
    • Delete Product
  • Manage Stocks
    • Add New Stock
    • List All Stocks
    • View Stock Details
    • Update Stock Details
    • Delete Stock
  • Point of Sale
  • Generate Printable Receipt
  • Generate Printable Date-wise Sales Report
  • Manage User List (CRUD)
  • Manage Account Credentials

Admin-Side

  • Secure Login/Logout
  • Home Page
    • Summary
    • Inventory/Available Stocks List
  • Point of Sale
  • Generate Printable Receipt
  • Generate Printable Date-wise Sales Report of their Transactions
  • Manage Account Credentials

System Snapshots of some Features

Home Page
Bakery Shop Management System
Product List
Bakery Shop Management System
POS
Bakery Shop Management System
Receipt
Bakery Shop Management System
Sales Report
Bakery Shop Management System

How to Run ??

Requirements

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

Installation/Setup

  1. Open your XAMPP/WAMP's Control Panel and start Apache and MySQL.
  2. Extract the downloaded source code zip 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 bsms_db.
  6. Import the provided SQL file. The file is known as bsms_db.sql located inside the database folder.
  7. Browse the Bakery Shop Management System in a browser. i.e. http://localhost/bsms/.

Default Admin Access

Username: admin
Password: admin123

DEMO VIDEO

That's it. You can now explore the features and functionalities of this Bakery Shop Management System in PHP. I hope this project will help you with what you are looking for and you'll find something useful for your future projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

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

Hello ADMIN, I am trying to send you message through Contact Us, its says this when I click the send button.
The website encountered an unexpected error. Please try again later.
Kindly fix as I'd like to contact you. Many thanks

Hi, Is it somehow possible to contact you about bugs?

cant login

IAM GETTING THIS ERROR Fatal error: Uncaught mysqli_sql_exception: Unknown database 'bsms_db' in C:\xampp\htdocs\bsms\DBConnection.php:6 Stack trace: #0 C:\xampp\htdocs\bsms\DBConnection.php(6): mysqli->__construct('localhost', 'root', '', 'bsms_db') #1 C:\xampp\htdocs\bsms\DBConnection.php(34): DBConnection->__construct() #2 C:\xampp\htdocs\bsms\login.php(7): require_once('C:\\xampp\\htdocs...') #3 {main} thrown in C:\xampp\htdocs\bsms\DBConnection.php on line 6

In reply to by Sikandar shalmani (not verified)

Hi am getting the ecact same error i cant run ut in local host have you rectified it if so tell me how to fix it

i enter the admin and admin password but don't work what should i do....

If any user other than Admin how he is able to login ,because when we add a new user it only ask username and password is blank

Fatal error: Uncaught mysqli_sql_exception: Unknown database 'bsms_db' in C:\xampp\htdocs\bsms\DBConnection.php:6 Stack trace: #0 C:\xampp\htdocs\bsms\DBConnection.php(6): mysqli->__construct('localhost', 'root', Object(SensitiveParameterValue), 'bsms_db') #1 C:\xampp\htdocs\bsms\DBConnection.php(34): DBConnection->__construct() #2 C:\xampp\htdocs\bsms\login.php(7): require_once('C:\\xampp\\htdocs...') #3 {main} thrown in C:\xampp\htdocs\bsms\DBConnection.php on line 6........its showing this error

Add new comment