Looking to hire Laravel developers? Try LaraJobs

laravel-chatbot maintained by anascloud

Description
A Laravel package for AI Chatbot using Groq API
Last update
2026/06/11 17:11 (dev-master)
License
Links
Downloads
0

Comments
comments powered by Disqus

Laravel Chatbot

A drop-in AI chat widget and customer support solution powered by the free Groq API.

Preview Image

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