PHPackages                             ferarandrei1/filament-ai-chat-widget - 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. ferarandrei1/filament-ai-chat-widget

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

ferarandrei1/filament-ai-chat-widget
====================================

A beautiful AI chat widget plugin for Filament v3 with OpenAI integration

v1.0.0(4mo ago)3722MITPHPPHP ^8.1|^8.2|^8.3

Since Dec 20Pushed 4mo agoCompare

[ Source](https://github.com/feraandrei1/filament-ai-chat-widget)[ Packagist](https://packagist.org/packages/ferarandrei1/filament-ai-chat-widget)[ Docs](https://github.com/ferarandrei1/filament-ai-chat-widget)[ RSS](/packages/ferarandrei1-filament-ai-chat-widget/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (2)Used By (0)

Filament AI Chat
================

[](#filament-ai-chat)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)[![Filament](https://camo.githubusercontent.com/d2ce7cfa63cef62a6b29fabb1242da752eaa5f941d636d8ad3901f066f8f4b4a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46696c616d656e742d76332d6f72616e67652e737667)](https://camo.githubusercontent.com/d2ce7cfa63cef62a6b29fabb1242da752eaa5f941d636d8ad3901f066f8f4b4a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46696c616d656e742d76332d6f72616e67652e737667)[![Laravel](https://camo.githubusercontent.com/8a2a5d53af6930ffb13b7aef53027205c43c6202688bf314e336dc703891b0e7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d7631312d7265642e737667)](https://camo.githubusercontent.com/8a2a5d53af6930ffb13b7aef53027205c43c6202688bf314e336dc703891b0e7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d7631312d7265642e737667)

AI chat widget for Filament v3 with OpenAI integration.

[![Chat Widget](screenshot.jpg)](screenshot.jpg)

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

[](#requirements)

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

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

[](#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 &amp; 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
-----

[](#usage)

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

### Customization

[](#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
-------

[](#license)

MIT License

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance75

Regular maintenance activity

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

142d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2df3200f10e66a60682f2ab863e29b47f550feefed6b392cae76fa6f9a66c1ce?d=identicon)[feraandrei1](/maintainers/feraandrei1)

---

Top Contributors

[![feraandrei1](https://avatars.githubusercontent.com/u/105398957?v=4)](https://github.com/feraandrei1 "feraandrei1 (8 commits)")

---

Tags

laravelaiopenailivewirechatfilamentfilament-pluginchatbotassistant

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ferarandrei1-filament-ai-chat-widget/health.svg)

```
[![Health](https://phpackages.com/badges/ferarandrei1-filament-ai-chat-widget/health.svg)](https://phpackages.com/packages/ferarandrei1-filament-ai-chat-widget)
```

###  Alternatives

[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[mischasigtermans/laravel-altitude

Claude Code agents for the TALL stack, powered by Laravel Boost

1139.2k](/packages/mischasigtermans-laravel-altitude)[asosick/filament-layout-manager

Allow users to create &amp; customize their own FilamentPHP pages composed of Livewire components

5718.8k2](/packages/asosick-filament-layout-manager)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

116.6k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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