New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

ferarandrei1/filament-ai-chat-widget

A beautiful AI chat widget plugin for Filament v3 with OpenAI integration
218 6
Install
composer require ferarandrei1/filament-ai-chat-widget
Latest Version:v1.0.0
PHP:^8.1|^8.2|^8.3
Laravel:10 · 11
License:MIT
Last Updated:Dec 27, 2025
Links: GitHub  ·  Packagist
Maintainer: feraandrei1

Filament AI Chat

License Filament Laravel

AI chat widget for Filament v3 with OpenAI integration.

Chat Widget

Requirements

  • PHP 8.1+
  • Laravel 11.x
  • Filament 3.x
  • OpenAI API key

Installation

Install via Composer:

composer require ferarandrei1/filament-ai-chat-widget

Run migrations:

php artisan vendor:publish --tag="filament-ai-chat-widget-migrations"
php artisan migrate

Add your OpenAI API key to .env:

OPENAI_API_KEY=sk-your-api-key-here
OPENAI_ORGANIZATION=your-organization-here

Register the plugin & knowledge resource in your Panel Provider:

use Feraandrei1\FilamentAiChatWidget\FilamentAiChatPlugin;
use Feraandrei1\FilamentAiChatWidget\Filament\Resources\AiKnowledgeBaseResource;

public function panel(Panel $panel): Panel
{
    return $panel
        ->resources([
            AiKnowledgeBaseResource::class,
        ])
        ->plugins([
            FilamentAiChatPlugin::make(),
        ]);
}

Clear caches:

php artisan optimize:clear

Usage

The chat widget appears automatically on all panel pages for authenticated users.

Customization

You can customize the behavior and appearance of the widget by publishing the configuration:

php artisan vendor:publish --tag="filament-ai-chat-widget-config"

Then edit config/filament-ai-chat-widget.php to adjust settings like:

  • Default AI model
  • Chat history limit
  • UI appearance

License

MIT License

Related Packages

qalainau/filament-team-chat

A Slack-like team chat plugin for Filament v5

6,325 15
packstub/filament-agents

An in-panel AI assistant and an MCP server for Filament v5 panels, built on lara...

1,618 13
asignua/filament-chat

Internal team chat for Filament 5 panels: direct messages and groups, @mentions,...

786 6
zofe/ai-module

AI widget, tool registry and multi-provider service (Anthropic, OpenAI-compatibl...

109 0
solution-forest/ai-kit-ui-livewire

Livewire 4 chat UI for ai-kit: streaming RAG responses, markdown rendering, and...

26 4

Version History

Version Released PHP Laravel License
v1.0.0 ^8.1|^8.2|^8.3 ^10.0|^11.0 MIT