ChatBot App with Suggestion in PHP/OOP Free Source Code

Language

Introduction

This simple project is a ChatBot Application with a Suggestion Feature. This is a web-based application project developed in PHP and MySQL Database. This application is a simple ChatBot Application for any site. I developed this application to give new programmers an idea of how to create a ChatBot Feature for their current or future PHP Projects. This was developed with Bootstrap Framework and AdminLTE Template. It consists of simple and user-friendly features and functionalities.

About the ChatBot Application with Suggestion Feature

I developed this project using the following:

  • XAMPP v3.3.0
  • PHP
  • MySQL Database
  • HTML
  • CSS
  • JavaScript
  • Ajax
  • jQuery
  • Bootstrap
  • Font Awesome
  • AdminLTE

This ChatBot Application with Suggestion Feature can be accessed by the Site Management and the Public. On this application, visitors can simply query anything at the chatbox or conversation box. The system automatically browses a response for the query of the visitors and returns it to the visitor. This project also contains suggestion features. This feature provides suggestion keywords to the visitor or inquirer. Each suggestion is linked to a response. If the response has a list of suggestions keywords, the system will also return the suggestions along with the response. The suggestion feature goal is to provide the inquirer with a possible keyword that is related to the current response. This project has an admin panel where the management can access and manage the responses. The said side requires the users to log in to their system credentials to gain access to the features and functionalities of the Admin Panel. The application also generates a printable report for the responses. The Response Report contains the list of responses with the total number or count of time it was fetched. The list ordered from frequently fetched to least.

Features

Admin Panel

  • Home Page
    • Display the summary.
  • Response Management
    • Add New Response
    • List All Responses
    • Manage the Response Keywords
    • Manage the Response Suggestions
    • View Response Details
    • Edit Response Details
    • Delete Response
  • Generate Printable Response Report
  • User Management
    • Add New User
    • List All Users
    • View User Details
    • Edit User Details
    • Delete User Details
  • Update System Information
  • Update Account Details/Credentials
  • Login and Logout

Public Site

  • Send Query
  • Conversation Box
  • Suggestion Keywords

The source code was developed only for educational purposes only. You can download the source code for free and modify it the way you wanted.

System Snapshots of some Features

Admin Dashboard

ChatBot Application with Suggestion Feature

Response List

ChatBot Application with Suggestion Feature

Response Form

ChatBot Application with Suggestion Feature

Response Details

ChatBot Application with Suggestion Feature

Generated Report

ChatBot Application with Suggestion Feature

ChatBot

ChatBot Application with Suggestion Feature

How to Run ??

Requirements

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

System Installation/Setup

  1. Enable the GD Library in your php.ini file.
  2. Open your XAMPP Control Panel and start Apache and MySQL.
  3. Extract the downloaded source code zip file.
  4. Copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory.
  5. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  6. Create a new database naming chat_bot_db.
  7. Import the provided SQL file. The file is known as chat_bot_db.sql located inside the database folder.
  8. Browse the ChatBot Application with Suggestion Feature in a browser. i.e. http://localhost/simple_chat_bot/.

Admin Default Access:

Username: admin
Password: admin123

DEMO VIDEO

That's it. You can now explore the features and functionalities of this ChatBot Application with Suggestion Feature in PHP. I hope this 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

Submitted byRRIOSon Tue, 05/17/2022 - 01:55

Did you use any PHP Frameworks?

Does the chatbot have the option to respond with lists?

 1- Teacher 

2- Student 

3- Director 

4- Student's Parents

 

Add new comment