AI Chat Widget plugin screenshot
Dark mode ready
Multilingual support
Supports v5.x

AI Chat Widget

Community

Filament support for `openai-php/laravel`.

Tags: Widget
Supported versions:
3.x
Andrei Feraru avatar Author: Andrei Feraru

Package health

Beta

Automated checks of this plugin's Composer package

82 / 100
Security 85
Maintenance 88
Ecosystem 60
15 checks
  • Skipped: GitHub Actions pinned to SHA
  • Skipped: GitLab CI includes pinned to SHA
  • Passed: Open security advisories
  • Passed: Dependabot PR responsiveness — No open Dependabot PRs.
  • Skipped: Renovate MR responsiveness
  • Skipped: Dependabot or Renovate configured
  • Skipped: Dependency update cooldown configured
  • Failed: Provides a security policy View details on Plumb
  • Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
  • Warning: Commit and release recency — Low activity: last commit 211 days ago; last release 218 days ago.
  • Passed: composer.lock not committed by library composer.lock is absent from the released dist archive.
  • Passed: Dist archive is lean
  • Failed: Current Laravel version supported The newest Laravel line the package co-installs with is 11.0, which is end-of-life. View details on Plumb
  • Passed: Current PHP version supported — Constraint ^8.1|^8.2|^8.3 supports current PHP 8.5.
  • Skipped: Current Symfony version supported
Third-party plugin. This is built by the community, not the Filament team. Filament does not review, endorse, or vet the security of plugins outside the filament/ namespace. Review the source and install at your own risk. Found malware or an unresolved security issue the author won't address? Report it .
Powered by Plumb Last scanned 2 weeks ago

Documentation

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