Download the PHP package sferra/filament-side-chat without Composer

On this page you can find all versions of the php package sferra/filament-side-chat. 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-side-chat

Filament Side Chat

AI-powered chat assistant for Filament admin panels. Adds a sidebar chat button that opens a slide-over modal with real-time SSE streaming via sferra/delta.

Installation

Publish and run the migration:

Include the package views in your Tailwind build

The chat UI is styled with Tailwind classes. If your panel uses Tailwind v4 (@tailwindcss/vite), add the package views to your @source list in resources/css/app.css — otherwise the chat renders unstyled:

Then rebuild your assets:

For Tailwind v3, add the path to content in tailwind.config.js instead: './vendor/sferra/filament-side-chat/resources/views/**/*.blade.php'

Setup

1. Configure the Delta provider

Add your AI provider credentials to .env:

See sferra/delta for all supported providers (OpenAI, Ollama, OpenCode, vLLM, etc.).

2. Register the plugin

In your AppPanelProvider.php:

That's it. A chat button appears in the Filament topbar.

Features

Configuration

Fluent methods (Panel Provider)

Context-aware assistant

On every Delta::stream() call, the plugin prepends a role: system message so the model knows who is asking and from where. Nothing is persisted — the system message lives only in the request payload.

What's injected by default

Toggles (master + granular)

Pass null to context() to clear all custom providers:

Custom system prompt via Markdown file

Publish the stub:

Edit resources/ai/system-context.md (path is configurable). The {auto_context} placeholder is replaced with the auto-generated block (user + page + custom providers):

Activate it with:

Disable everything (use only your own prompt)

Config keys (all overridable per ENV)

Multiple panels: if you have more than one Filament panel and each one registers a different context config, the last-registered panel wins (since the config() values are global). In that case, prefer the config file or FILAMENT_SIDE_CHAT_CONTEXT_* env vars instead of the fluent setters.

Config file

Publish the config file:

Fluent methods take precedence over the config file.

Customization

Change the render position

Publish and customize views

Publish the system context stub

Requirements

License

MIT


All versions of filament-side-chat with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
filament/filament Version ^3.0|^4.0|^5.0
sferra/delta Version ^1.0
spatie/laravel-package-tools Version ^1.15
afatmustafa/blade-hugeicons Version ^2.0
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 sferra/filament-side-chat contains the following files

Loading the files please wait ...