anascloud / laravel-chatbot
Laravel Chatbot — AI chat widget and customer support assistant for automation by free LLM API.
v1.0.2
2026-06-11 12:54 UTC
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.0
- illuminate/support: ^11.0 || ^12.0
This package is auto-updated.
Last update: 2026-06-11 15:12:05 UTC
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
