PHPackages                             krishgaur1354/chatbot - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. krishgaur1354/chatbot

ActiveDrupal-module[Utility &amp; Helpers](/categories/utility)

krishgaur1354/chatbot
=====================

The Drupal AI Chatbot module leverages OpenAI's language models to add an intelligent chatbot to your Drupal site. It analyzes user interactions and provides real-time assistance, information retrieval, and interactive experiences for website visitors.

00PHP

Since Aug 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/KrishGaur1354/drupal-chatbot)[ Packagist](https://packagist.org/packages/krishgaur1354/chatbot)[ RSS](/packages/krishgaur1354-chatbot/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

GPT-Based Chatbot Integration for Drupal
----------------------------------------

[](#gpt-based-chatbot-integration-for-drupal)

This project aims to integrate AI capabilities into Drupal websites to provide analytics and insights for enhancing user experience and driving website growth. Leveraging OpenAI-based AI, the project will analyze user behavior, chatbot interactions, and engagement metrics, offering valuable insights to Drupal users, developers, and admins. It was developed as part of a Google Summer of Code 2024 proposal.

Description
-----------

[](#description)

The Drupal AI Chatbot module leverages OpenAI's language models to add an intelligent chatbot to your Drupal site. It analyzes user interactions and provides real-time assistance, information retrieval, and interactive experiences for website visitors.

Key features:

- AI-powered chatbot interface
- Customizable chatbot appearance
- User behavior and engagement analytics
- Insights for improving user experience
- Easy integration with existing Drupal sites

For a video demonstration of the chatbot, please visit:

Installation
------------

[](#installation)

1. Download and place the module folder in your Drupal installation's `modules` directory.
2. Enable the module through the Drupal admin interface (Extend &gt; AI Chatbot).
3. Configure the module settings at Configuration &gt; AI Chatbot Settings.

Configuration
-------------

[](#configuration)

1. Obtain an API key from OpenAI.
2. Enter your API key in the module configuration page.
3. Customize the chatbot appearance (color, logo, etc.)
4. Enable or disable specific chatbot features as needed.

Usage
-----

[](#usage)

Once configured, the chatbot will appear as a small icon in the corner of your Drupal site. Visitors can interact with it to ask questions or get assistance.

Admins can view analytics and insights from chatbot interactions in the Drupal admin dashboard.

Chatbot Interface
-----------------

[](#chatbot-interface)

The chatbot appears as an unobtrusive widget that expands when clicked:

 [![Chatbot](images/chatbot.png)](images/chatbot.png)

Customization
-------------

[](#customization)

The module provides a customization interface where you can adjust various aspects of the chatbot:

 [![Chatbot Customization](images/custom-plugin-main.png)](images/custom-plugin-main.png)

You can set:

- Chatbot title
- Primary color
- Logo
- Enable/disable speech-to-text
- API key and endpoint

Requirements
------------

[](#requirements)

- Drupal 9.x or 10.x
- PHP 7.4+
- OpenAI API key

Support
-------

[](#support)

For issues, feature requests or support:

- Open an issue on the [project page](https://git.drupalcode.org/sandbox/ubulinux-3452104)
- Contact the maintainer

Contributing
------------

[](#contributing)

Contributions are welcome! Please follow the standard Drupal coding standards and submit pull requests for any enhancements.

Acknowledgements
----------------

[](#acknowledgements)

This project was developed as part of Google Summer of Code 2024 under the mentorship of Ms. Anushri Kumari () from the Drupal community.

License
-------

[](#license)

This project is licensed under the MIT License.

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf264f79257f31b1458708860a8e0228a5b59038ceefcde81b6f6079f1cffff3?d=identicon)[KrishGaur1354](/maintainers/KrishGaur1354)

---

Top Contributors

[![KrishGaur1354](https://avatars.githubusercontent.com/u/108526951?v=4)](https://github.com/KrishGaur1354 "KrishGaur1354 (2 commits)")

### Embed Badge

![Health badge](/badges/krishgaur1354-chatbot/health.svg)

```
[![Health](https://phpackages.com/badges/krishgaur1354-chatbot/health.svg)](https://phpackages.com/packages/krishgaur1354-chatbot)
```

###  Alternatives

[beebmx/kirby-env

Enable env variables to Kirby

2037.9k2](/packages/beebmx-kirby-env)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
