Download the PHP package darkclow4/filament-chatbot without Composer

On this page you can find all versions of the php package darkclow4/filament-chatbot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-chatbot

Filament Chatbot

filament-chatbot is a floating chatbot plugin for Filament powered by laravel/ai.

It mounts a global Livewire chat widget inside your Filament panel, stores conversation history using Laravel AI's conversation tables, supports optional direct streaming without broadcast infrastructure, and lets you control behavior through both config and ChatbotPlugin APIs.

Features

Requirements

Installation

Install the package with Composer:

Publish the package config if you want to customize the chatbot:

If you have not published Laravel AI's config and migrations yet, do that as well:

Publish Filament assets so the chatbot CSS and JS are available:

Package Registration

The package supports Laravel auto-discovery through:

In most applications, no manual provider registration is needed.

Register The Plugin In Your Panel

Register the plugin in your Filament panel provider:

The chatbot is injected with a panel-scoped render hook, so it only appears on panels where the plugin is registered.

The current plugin implementation mounts the floating chatbot through PanelsRenderHook::BODY_START and loads minified package assets via Filament's asset manager.

Plugin API

The plugin exposes fluent methods so you can control visibility, streaming mode, drag behavior, and the chatbot accent color directly from your panel provider.

enabled()

Use enabled() to control whether the chatbot should be visible.

Example, visible only to admins:

streaming()

Use streaming() to enable direct AI streaming without Reverb / broadcast.

draggable()

Use draggable() to let users reposition the chatbot launcher anywhere inside the panel viewport.

primaryColor()

Use primaryColor() to override the chatbot accent color.

Supported values:

If not provided, the chatbot falls back to the Filament panel primary color.

Configuration

The published config file looks like this:

Configuration Precedence

Plugin API values take priority over config values for enabled, streaming, and draggable.

Resolution order:

  1. use plugin API value if it has been configured
  2. otherwise fall back to config value

Choosing The Agent

The most important config value is agent.

It should contain a fully qualified class name for the Laravel AI agent you want to use, for example:

The configured agent should:

Example custom agent:

Provider And Model Override

By default, the package lets Laravel AI use your default provider from config/ai.php.

If you want to force a provider or model for the chatbot only, set these values:

If either value is null, the package falls back to the agent / SDK defaults.

Streaming Mode

By default, streaming is disabled.

When enabled, the package uses direct streaming from Laravel AI and Livewire's streaming support to progressively render assistant output in the chat bubble.

This mode does not require:

It streams directly over the Livewire request/response cycle.

Conversation Storage

The chatbot stores conversation history in Laravel AI's database tables:

Each signed-in Filament user gets their own remembered conversation context. The widget resumes the latest conversation for that user when possible.

Markdown And Math Rendering

Assistant responses are rendered as HTML from Markdown.

This means common Markdown features such as:

will be formatted in the chat UI.

Default Agent

The package ships with a fallback agent:

This is useful for quick setup, but in a real application you will usually want to point agent to your own agent class so you can define custom instructions, tools, and behavior.

Testing

The package works well with Laravel AI fakes. For example:

Notes


All versions of filament-chatbot with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
filament/filament Version ^4.0 || ^5.0
laravel/ai Version ^0.6.8
illuminate/contracts Version ^12.0 || ^13.0
livewire/livewire Version ^3.0 || ^4.0
spatie/laravel-package-tools Version ^1.92
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package darkclow4/filament-chatbot contains the following files

Loading the files please wait ...