Online Restaurant Management System in PHP MySQL

January 6, 2021
PHP
online restaurant management system

Project: Online Restaurant Management System in PHP MySQL with Free Source Code

About Online Restaurant Management System in PHP MySQL

Online Restaurant Management System is simple to use and Friendly user, Develop in PHP MySQL database, and Codelgniter Frame work using JavaScript, HTML, Modal, Ajax, Bootstrap, and J Query, this system is a web application it contains of admin and user, the user is limited access on the system it defends in admin, and the admin can manage all information of the restaurant system like, add new user, add product, delete, update and more.

Features of the Online Restaurant Management System

  • Admin Dashboard
  • Add User
  • Manage User
  • Groups
  • Add Group
  • Manage Groups
  • Store
  • Tables
  • Category
  • Product
  • Add Product
  • Orders
  • Add Order
  • Manage Orders
  • Reports
  • Product Wise
  • Total Store Wise
  • Profile
  • Setting

Admin Dashboard

User, Add User, Manage User, Groups, Add Group, Manage Groups, Store, Tables, Category, Product, Add Product, Manage Products, Orders, Add Order, Manage Orders, Reports, Product Wise, Total Store Wise, Profile, Setting.

Add User

Groups, Store, Username, Email, Password, Confirm Password, First Name, Last Name, Phone, and Gender.

Manage Users

Username, Email, Name, Phone Number, Group show Entries, Edit, Delete, add user, and Search.

Add Group

Users, Groups, Stores, Tables, Category, Product, Orders, Report, Company, Profile, Setting and Search.

Manage Groups

Add Group, Show Entries, Group Name, Edit, Delete, and Search.

Stores

Add Store, Show Entries, Store Name, Status, and Search.

Tables

Add Table, Store, Table Name, Capacity, Available, Status, Action, Edit, Delete, Show Entries, and Search.

Category

Add Category, Show Entries Category, Category Name, Status, and Search.

Add Product

Product Name, Price, Description, Category, Store, Active, and Search.

Manage Product

Add Product, View Product, Image, Product Name Price, Store, Status, Action, Show Entries, and Search.

Add Orders

Product Name, Quantity, Rate, Amount, Gross Amount, Vat, Discount, Net Amount, and Create Order.

Reports

Total Paid Orders, Report Order, Month, Year, and Amount.

Company Information

Company Name, Charge Amount, Vat Charge, Address, Phone Number, Country, Message, and Currency.

Profile

Username, Email, First Name, Last Name, Gender, Phone, and Group.

Online Restaurant Management System

  • Name of Project:     Restaurant Management System
  • Language Used:      PHP
  • Database Used:      My SQL
  • Design Interface:    Bootstrap JavaScript, HTML, Ajax, JQuery,
  • Browser:                  Opera Mozilla Google Chrome IE8,
  • Software:                 WAMP/ XAMPP/ LAMP/MAMP

Screenshots

online restaurant management system

online restaurant management system free download

How To Run??

Above all, to run this project you must have installed a virtual server i.e XAMPP on your PC. Online Restaurant Management System in PHP and MySQL with source code is free to download, Use for educational purposes only!

Follow the following steps after Starting Apache and MySQL in XAMPP:

1st Step: Firstly, Extract the file
2nd Step: After that, Copy the main project folder
3rd Step: So, you need to Paste in xampp/htdocs/

Further, Now Connecting Database

4th Step: So, for now, Open a browser and go to URL “http://localhost/phpmyadmin/”
5th Step: After that, Click on the databases tab
6th Step: So, Create a database naming “restaurant” and then click on the import tab
7th Step: Certainly, Click on browse file and select “restaurant.sql” file which is inside the “db” folder
8th Step: Meanwhile, click on Go button.

After Creating Database,

9th Step: Moreover, Open a browser and go to URL “http://localhost/restaurant”

Username: admin@admin.com** / Password: password

For instance, have a look at the video below for the project demo.

Download Here
https://www.campcodes.com/

This is a free education portal. You can use every source code in your project without asking permission to the author. Share our website to everyone to make our community of programmers grow more.

    Comments
    • During to change database name, after change new database name and base path in database.php and config.php, after login it shows 404 error page not found. What should I do?

      Gen April 24, 2023 3:26 am Reply
      • the same problem occured with each and every code provided by CampCodes, each project has same errors , I request plz not to use this projects

        Anonymous January 15, 2024 10:47 am Reply
    • During to change database name, after changing database name and base path in database.php and config.php, after login it shows 404 error page not found. What should I do?

      Anonymous April 24, 2023 3:19 am Reply
    • No restaurant.sql found in db folder.

      Shreya Agnihotri December 13, 2022 6:26 pm Reply
    • A PHP Error was encountered
      Severity: 8192

      Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

      Filename: drivers/Session_files_driver.php

      Line Number: 132

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      A PHP Error was encountered
      Severity: 8192

      Message: Return type of CI_Session_files_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

      Filename: drivers/Session_files_driver.php

      Line Number: 290

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      A PHP Error was encountered
      Severity: 8192

      Message: Return type of CI_Session_files_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

      Filename: drivers/Session_files_driver.php

      Line Number: 164

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      A PHP Error was encountered
      Severity: 8192

      Message: Return type of CI_Session_files_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

      Filename: drivers/Session_files_driver.php

      Line Number: 233

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      A PHP Error was encountered
      Severity: 8192

      Message: Return type of CI_Session_files_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

      Filename: drivers/Session_files_driver.php

      Line Number: 313

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      A PHP Error was encountered
      Severity: 8192

      Message: Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

      Filename: drivers/Session_files_driver.php

      Line Number: 354

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      A PHP Error was encountered
      Severity: Warning

      Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

      Filename: Session/Session.php

      Line Number: 284

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      A PHP Error was encountered
      Severity: Warning

      Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent

      Filename: Session/Session.php

      Line Number: 296

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      A PHP Error was encountered
      Severity: Warning

      Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

      Filename: Session/Session.php

      Line Number: 306

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      A PHP Error was encountered
      Severity: Warning

      Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

      Filename: Session/Session.php

      Line Number: 316

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      A PHP Error was encountered
      Severity: Warning

      Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

      Filename: Session/Session.php

      Line Number: 317

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      A PHP Error was encountered
      Severity: Warning

      Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

      Filename: Session/Session.php

      Line Number: 318

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      A PHP Error was encountered
      Severity: Warning

      Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

      Filename: Session/Session.php

      Line Number: 319

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      A PHP Error was encountered
      Severity: Warning

      Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

      Filename: Session/Session.php

      Line Number: 377

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      A PHP Error was encountered
      Severity: Warning

      Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent

      Filename: Session/Session.php

      Line Number: 110

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      A PHP Error was encountered
      Severity: Warning

      Message: session_start(): Session cannot be started after headers have already been sent

      Filename: Session/Session.php

      Line Number: 143

      Backtrace:

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\restaurant\index.php
      Line: 315
      Function: require_once

      Satadru Bhattacharjee November 11, 2022 12:03 am Reply
    • I want this project documentation, this project is so good, i like it and i use this project for my mca final sem.

      Smita mulik June 27, 2022 2:23 pm Reply
    • An uncaught Exception was encountered
      Type: Error

      Message: Call to undefined function mysql_connect()

      Filename: C:\xampp\htdocs\restaurant\system\database\drivers\mysql\mysql_driver.php

      Line Number: 136

      Backtrace:

      File: C:\xampp\htdocs\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\index.php
      Line: 315
      Function: require_once

      dhurba gautam May 29, 2022 1:23 am Reply
    • its showing this error

      An uncaught Exception was encountered
      Type: mysqli_sql_exception

      Message: Access denied for user ‘root’@’localhost’ (using password: NO)

      Filename: C:\xampp\htdocs\restaurant\system\database\drivers\mysqli\mysqli_driver.php

      Line Number: 201

      Backtrace:

      File: C:\xampp\htdocs\restaurant\application\core\MY_Controller.php
      Line: 7
      Function: __construct

      File: C:\xampp\htdocs\restaurant\application\core\MY_Controller.php
      Line: 18
      Function: __construct

      File: C:\xampp\htdocs\restaurant\application\controllers\Auth.php
      Line: 10
      Function: __construct

      File: C:\xampp\htdocs\restaurant\index.php
      Line: 315
      Function: require_once

      thouseef March 14, 2022 1:40 pm Reply
      • set password which you set on installing server

        dhurba gautam May 29, 2022 1:24 am Reply
    • its not found

      llllllll October 16, 2021 7:11 pm Reply
    • HI,

      Can you plz provide your contact details, I have some requirements for developing something. Please do not reply here. get my email id, mail me, and provide your details there.

      We will have some productive talks.

      Prince Kataria September 10, 2021 1:31 am Reply
      • HI,

        Can you plz provide your contact details, I have some requirements for developing something. Please do not reply here. get my email id, mail me, and provide your details there.

        We will have some productive talks.

        Michael January 9, 2022 3:11 pm Reply
      • No need for .sql. Just install the project and create the database and will be automatically feed the files.

        admin July 25, 2021 8:43 pm Reply
    • http://datatables.net/tn/1 error in manage order tab

      Anonymous July 7, 2021 1:47 pm Reply
      • Please follow the server requirements. This is working on my end.

        admin July 7, 2021 2:42 pm Reply
    • link is broken!!

      Asid July 5, 2021 10:16 pm Reply
      • It’s been fixed now. You can download again.

        admin July 5, 2021 10:21 pm Reply
        • I faced the same problem so please, just explain the solution in a video because this is the most important section in the whole system.

          hazem October 29, 2021 11:23 am Reply
    • how to change date time setting?

      zen June 8, 2021 4:34 pm Reply
    • Thankyou so much sir

      Anonymous April 2, 2021 7:36 pm Reply

    Leave a Reply

    Your email address will not be published. Required fields are marked *