j25 / gpt-chat-widget
GPT Chat Widget for laravel
2.0
2026-08-16 15:22 UTC
Requires
- php: ^8.2
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-16 15:37:54 UTC
README
Installation
Require this package with composer:
composer require j25/gpt-chat-widget
php artisan vendor:publish --provider="J25\GptChatWidget\Providers\GptChatServiceProvider"
Update your packages with ```composer update``` or install with ```composer install```.
## Usage
To use the Widget, you have to register the provider in your Laravel framework.
Find the `providers` key in `config/app.php` and register the Gpt Chat Service Provider.
```php
'providers' => [
// ...
'J25\GptChatWidget\Providers\GptChatServiceProvider',
]
Configuration
This widget uses yandex.cloud chat. You have to use CHAT_GPT_PROVIDER=yandex in the .ENV file and CHAT_GPT_YANDEX_API_KEY='' CHAT_GPT_YANDEX_FOLDER_ID=''.
Example
view files
<x-gpt-widget />