anascloud/laravel-chatbot
最新稳定版本:v1.0.2
Composer 安装命令:
composer require anascloud/laravel-chatbot
包简介
Laravel Chatbot — AI-powered customer support chat widget for automation
README 文档
README
A drop-in AI chat widget and customer support solution powered by the free Groq API.
Installation
composer require anascloud/laravel-chatbot
Setup
1. Publish config and assets:
php artisan vendor:publish --tag="chatbot-config" php artisan vendor:publish --tag="chatbot-assets"
2. Add your API key to .env:
GROQ_API_KEY=your_groq_api_key_here
3. Add the widget before your closing </body> tag:
@include('chatbot::chat-widget') <link rel="stylesheet" href="{{ asset('vendor/chatbot/css/chat-widget.css') }}"> <script src="{{ asset('vendor/chatbot/js/chat-widget.js') }}" defer></script>
FontAwesome must be loaded for icons to render.
Customization
Adjust the model, system message, and other options in config/chatbot.php.
License
MIT — see LICENSE.md
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-11
