PHPackages                             icetalker/filament-chatgpt-bot - 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. [API Development](/categories/api)
4. /
5. icetalker/filament-chatgpt-bot

ActiveLibrary[API Development](/categories/api)

icetalker/filament-chatgpt-bot
==============================

Integrate with OpenAI ChatGPT

v1.2.0(1y ago)355.6k↑50%11[2 PRs](https://github.com/icetalker/filament-chatgpt-bot/pulls)MITPHPPHP &gt;=7.4CI failing

Since Apr 24Pushed 1y ago3 watchersCompare

[ Source](https://github.com/icetalker/filament-chatgpt-bot)[ Packagist](https://packagist.org/packages/icetalker/filament-chatgpt-bot)[ Docs](https://github.com/icetalker/filament-chatgpt-bot)[ RSS](/packages/icetalker-filament-chatgpt-bot/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (14)Versions (10)Used By (0)

ChatGPT Intergration
====================

[](#chatgpt-intergration)

Filament ChatGPT Bot is a filament plugin that allow you to use ChatGPT out of the box within Filament Application.

[![Latest Version on Packagist](https://camo.githubusercontent.com/11993c2db2ff3ff758971e2e38d9a17bf6c50ff1184227f71efdbe4018f0f4ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69636574616c6b65722f66696c616d656e742d636861746770742d626f742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/icetalker/filament-chatgpt-bot)[![Total Downloads](https://camo.githubusercontent.com/86e82e77a751137ac2cf32767922a71368b42d6c410014d288b38730586ffa78/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69636574616c6b65722f66696c616d656e742d636861746770742d626f742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/icetalker/filament-chatgpt-bot)

Preview: [![](https://raw.githubusercontent.com/icetalker/filament-chatgpt-bot/main/screenshot/dark-mode.png)](https://raw.githubusercontent.com/icetalker/filament-chatgpt-bot/main/screenshot/dark-mode.png)Full Screen: [![](https://raw.githubusercontent.com/icetalker/filament-chatgpt-bot/main/screenshot/full-screen.png)](https://raw.githubusercontent.com/icetalker/filament-chatgpt-bot/main/screenshot/full-screen.png)Light Mode: [![](https://raw.githubusercontent.com/icetalker/filament-chatgpt-bot/main/screenshot/light-mode.png)](https://raw.githubusercontent.com/icetalker/filament-chatgpt-bot/main/screenshot/light-mode.png)

Feature
-------

[](#feature)

- Integrate with ChatGPT
- Easy to Setup
- Shortcut allows control of panel in more convenient way
- Support for dark mode

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

[](#installation)

First, you can install the package via composer:

```
composer require icetalker/filament-chatgpt-bot
```

For Filament V2, Please lock the the version to v0.1.\*:

```
composer require icetaker/filament-chatgpt-bot:"v0.1.3"
```

Publish Config Files
--------------------

[](#publish-config-files)

Next, you can publish the config files with:

```
php artisan vendor:publish --tag="filament-chatgpt-bot-config"
```

This will create a `config/filament-chatgpt-bot.php` configuration file in your project, which you can modify to your needs using environment variables:

```
OPENAI_API_KEY=sk-...

```

Go to admin panel, you will see a small icon in gray color on the bottom-right corner of every page. Click the icon, you will then see a chat panel. And now you can talk to OpenAI ChatGPT with the chat panel. Click the small icon again, the chat panel will become hidden again.

By optionally adding the `OPENAI_PROXY` to `.env` file, you could use http proxy to connect ChatGPT. Example as below:

```
OPENAI_PROXY=127.0.0.1:8080

```

Views
-----

[](#views)

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="filament-chatgpt-bot-views"
```

More
----

[](#more)

1. By defult, there is a small chatgpt icon on bottom-right corner of admin panel after the package installed. You could hide the icon by setting `enable` to `false` in `config/filament-chatgpt-bot.php` files:

```
    'enable' => false,
```

> This may require you publish [config files](#publish-config-files).

2. You could also render it in [Panel Configuration](https://laravel-filament.cn/docs/en/3.x/panels/configuration#render-hooks) like this：

```
public function panel(Panel $panel): Panel
{
    return $panel
        // ...
        ->renderHook(
            'panels::body.end',
            fn (): string => auth()->check() ? Blade::render('@livewire(\'livewire-ui-modal\')') : '',
        );
}
```

> Set `enable` in `config/filament-chatgpt-bot.php` files, if you like to render it in [Panel Configuration](https://laravel-filament.cn/docs/en/3.x/panels/configuration#render-hooks).

3. Alternatively, you can add it to any blade file within livewire page if you like to do it manually:

```

    ...

    @livewire('filament-chatgpt-bot')

```

> This is work for all livewire page in any Laravel Project, not just Filament. Please also make sure Tailwind CSS and Livewire were imported properly while use in other Laravel Project. And please note that you should also set `enable` to be `false` in `config/filament-chatgpt-bot.php` files while use this in non-Filament Project.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Martin Hwang](https://github.com/icetalker)
- [All Contributors](../../contributors)

Support
-------

[](#support)

Any Problem please email: .

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance46

Moderate activity, may be stable

Popularity36

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~117 days

Recently: every ~164 days

Total

7

Last Release

407d ago

Major Versions

v0.1.3 → v1.0.02023-09-30

### Community

Maintainers

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

---

Top Contributors

[![tubring](https://avatars.githubusercontent.com/u/46536059?v=4)](https://github.com/tubring "tubring (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![icetalker](https://avatars.githubusercontent.com/u/106749492?v=4)](https://github.com/icetalker "icetalker (4 commits)")[![jjrohrer](https://avatars.githubusercontent.com/u/69016?v=4)](https://github.com/jjrohrer "jjrohrer (3 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")[![mahavishnup](https://avatars.githubusercontent.com/u/52984889?v=4)](https://github.com/mahavishnup "mahavishnup (2 commits)")[![phpsa](https://avatars.githubusercontent.com/u/952595?v=4)](https://github.com/phpsa "phpsa (1 commits)")

---

Tags

laravelicetalkerfilament-chatgpt-bot

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/icetalker-filament-chatgpt-bot/health.svg)

```
[![Health](https://phpackages.com/badges/icetalker-filament-chatgpt-bot/health.svg)](https://phpackages.com/packages/icetalker-filament-chatgpt-bot)
```

###  Alternatives

[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.0k7.8M57](/packages/dedoc-scramble)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[likeabas/filament-chatgpt-agent

Integrate with OpenAI ChatGPT

235.3k](/packages/likeabas-filament-chatgpt-agent)[combindma/laravel-facebook-pixel

Meta pixel integration for Laravel

4956.9k](/packages/combindma-laravel-facebook-pixel)[stechstudio/laravel-hubspot

A Laravel SDK for the HubSpot CRM Api

2971.0k](/packages/stechstudio-laravel-hubspot)

PHPackages © 2026

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