PHPackages                             darkclow4/filament-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. darkclow4/filament-chatbot

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

darkclow4/filament-chatbot
==========================

Floating Filament chatbot plugin powered by Laravel AI.

v1.0.1(2w ago)02↓100%MITPHPPHP ^8.3

Since May 20Pushed 2w agoCompare

[ Source](https://github.com/darkclow4/filament-chatbot)[ Packagist](https://packagist.org/packages/darkclow4/filament-chatbot)[ RSS](/packages/darkclow4-filament-chatbot/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Filament Chatbot
================

[](#filament-chatbot)

`filament-chatbot` is a floating chatbot plugin for Filament powered by `laravel/ai`.

It mounts a global Livewire chat widget inside your Filament panel, stores conversation history using Laravel AI's conversation tables, supports optional direct streaming without broadcast infrastructure, and lets you control behavior through both config and `ChatbotPlugin` APIs.

Features
--------

[](#features)

- Built for Filament 4 or newer
- Powered by `laravel/ai`
- Floating chatbot available across the Filament panel
- Database-backed remembered conversations
- Configurable `agent` class via config
- Optional provider and model overrides

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

[](#requirements)

- PHP 8.3
- Laravel 12 or newer
- Filament 4 or newer
- Livewire 3 or newer
- `laravel/ai` configured with at least one working provider

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

[](#installation)

Install the package with Composer:

```
composer require darkclow4/filament-chatbot
```

Publish the package config if you want to customize the chatbot:

```
php artisan vendor:publish --tag=filament-chatbot-config
```

If you have not published Laravel AI's config and migrations yet, do that as well:

```
php artisan vendor:publish --provider="Laravel\Ai\AiServiceProvider"
php artisan migrate
```

Publish Filament assets so the chatbot CSS and JS are available:

```
php artisan filament:assets
```

Package Registration
--------------------

[](#package-registration)

The package supports Laravel auto-discovery through:

```
Darkclow4\FilamentChatbot\FilamentChatbotServiceProvider::class
```

In most applications, no manual provider registration is needed.

Register The Plugin In Your Panel
---------------------------------

[](#register-the-plugin-in-your-panel)

Register the plugin in your Filament panel provider:

```
