PHPackages                             filaforge/filament-deepseek-chat - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. filaforge/filament-deepseek-chat

ActiveLibrary[Admin Panels](/categories/admin)

filaforge/filament-deepseek-chat
================================

Filament panel plugin providing a DeepSeek chat page with admin-manageable API key.

v1.0.1(8mo ago)13MITPHPPHP ^8.1

Since Aug 19Pushed 8mo agoCompare

[ Source](https://github.com/filaforge/filament-deepseek-chat)[ Packagist](https://packagist.org/packages/filaforge/filament-deepseek-chat)[ Docs](https://github.com/filaforge/deepseek-chat)[ RSS](/packages/filaforge-filament-deepseek-chat/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (7)Used By (0)

Filaforge DeepSeek Chat
=======================

[](#filaforge-deepseek-chat)

A powerful Filament plugin that integrates DeepSeek AI chat capabilities directly into your admin panel.

Features
--------

[](#features)

- **DeepSeek AI Integration**: Chat with advanced AI models powered by DeepSeek
- **Conversation Management**: Save, organize, and continue chat conversations
- **Customizable Settings**: Configure API keys, models, and chat parameters
- **Real-time Chat**: Live chat experience with streaming responses
- **Conversation History**: Keep track of all your AI conversations
- **Export Conversations**: Save and share chat transcripts
- **Role-based Access**: Configurable user permissions and access control
- **Multi-model Support**: Switch between different DeepSeek models
- **Context Awareness**: Maintain conversation context across sessions

Installation
------------

[](#installation)

### 1. Install via Composer

[](#1-install-via-composer)

```
composer require filaforge/deepseek-chat
```

### 2. Publish &amp; Migrate

[](#2-publish--migrate)

```
# Publish provider groups (config, views, migrations)
php artisan vendor:publish --provider="Filaforge\\DeepseekChat\\Providers\\DeepseekChatServiceProvider"

# Run migrations
php artisan migrate
```

### 3. Register Plugin

[](#3-register-plugin)

Add the plugin to your Filament panel provider:

```
use Filament\Panel;

public function panel(Panel $panel): Panel
{
    return $panel
        // ... other configuration
        ->plugin(\Filaforge\DeepseekChat\Providers\DeepseekChatPanelPlugin::make());
}
```

Setup
-----

[](#setup)

### Configuration

[](#configuration)

The plugin will automatically:

- Publish configuration files to `config/deepseek-chat.php`
- Publish view files to `resources/views/vendor/deepseek-chat/`
- Publish migration files to `database/migrations/`
- Register necessary routes and middleware

### DeepSeek API Configuration

[](#deepseek-api-configuration)

Configure your DeepSeek API in the published config file:

```
// config/deepseek-chat.php
return [
    'api_key' => env('DEEPSEEK_API_KEY'),
    'base_url' => env('DEEPSEEK_BASE_URL', 'https://api.deepseek.com'),
    'default_model' => env('DEEPSEEK_MODEL', 'deepseek-chat'),
    'max_tokens' => env('DEEPSEEK_MAX_TOKENS', 4096),
    'temperature' => env('DEEPSEEK_TEMPERATURE', 0.7),
    'stream' => env('DEEPSEEK_STREAM', true),
    'timeout' => env('DEEPSEEK_TIMEOUT', 60),
];
```

### Environment Variables

[](#environment-variables)

Add these to your `.env` file:

```
DEEPSEEK_API_KEY=your_deepseek_api_key_here
DEEPSEEK_BASE_URL=https://api.deepseek.com
DEEPSEEK_MODEL=deepseek-chat
DEEPSEEK_MAX_TOKENS=4096
DEEPSEEK_TEMPERATURE=0.7
DEEPSEEK_STREAM=true
DEEPSEEK_TIMEOUT=60
```

### Getting Your DeepSeek API Key

[](#getting-your-deepseek-api-key)

1. Visit [DeepSeek Platform](https://platform.deepseek.com/)
2. Create an account or sign in
3. Navigate to API Keys section
4. Generate a new API key
5. Copy the key to your `.env` file

Usage
-----

[](#usage)

### Accessing DeepSeek Chat

[](#accessing-deepseek-chat)

1. Navigate to your Filament admin panel
2. Look for the "DeepSeek Chat" menu item
3. Start chatting with AI models

### Starting a Conversation

[](#starting-a-conversation)

1. **Select Model**: Choose from available DeepSeek models
2. **Type Your Message**: Enter your question or prompt
3. **Send Message**: Submit your message to the AI
4. **View Response**: See the AI's response in real-time
5. **Continue Chat**: Keep the conversation going

### Managing Conversations

[](#managing-conversations)

1. **New Chat**: Start a fresh conversation
2. **Save Chat**: Automatically save important conversations
3. **Load Chat**: Resume previous conversations
4. **Export Chat**: Download conversation transcripts
5. **Delete Chat**: Remove unwanted conversations

### Advanced Features

[](#advanced-features)

- **Model Selection**: Switch between different DeepSeek models
- **Parameter Tuning**: Adjust temperature, max tokens, and other settings
- **Context Management**: Maintain conversation context across sessions
- **Streaming Responses**: Real-time AI responses for better user experience

Troubleshooting
---------------

[](#troubleshooting)

### Common Issues

[](#common-issues)

- **API key errors**: Verify your DeepSeek API key is correct and has sufficient credits
- **Rate limiting**: Check your DeepSeek API rate limits and usage
- **Model not available**: Ensure the selected model is available in your plan
- **Connection timeouts**: Check network connectivity and timeout settings

### Debug Steps

[](#debug-steps)

1. Check the plugin configuration:

```
php artisan config:show deepseek-chat
```

2. Verify routes are registered:

```
php artisan route:list | grep deepseek-chat
```

3. Test API connectivity:

```
php artisan tinker
# Test your API key manually
```

4. Check environment variables:

```
php artisan tinker
echo env('DEEPSEEK_API_KEY');
```

5. Clear caches:

```
php artisan optimize:clear
```

6. Check logs for errors:

```
tail -f storage/logs/laravel.log
```

### API Error Codes

[](#api-error-codes)

- **401 Unauthorized**: Invalid or expired API key
- **429 Too Many Requests**: Rate limit exceeded
- **500 Internal Server Error**: DeepSeek service issue
- **Timeout**: Request took too long to complete

Security Considerations
-----------------------

[](#security-considerations)

### Access Control

[](#access-control)

- **Role-based permissions**: Restrict access to authorized users only
- **API key security**: Never expose API keys in client-side code
- **User isolation**: Ensure users can only access their own conversations
- **Audit logging**: Track all chat activities and API usage

### Best Practices

[](#best-practices)

- Use environment variables for API keys
- Implement proper user authentication
- Monitor API usage and costs
- Regularly rotate API keys
- Set appropriate rate limits

Uninstall
---------

[](#uninstall)

### 1. Remove Plugin Registration

[](#1-remove-plugin-registration)

Remove the plugin from your panel provider:

```
// remove ->plugin(\Filaforge\DeepseekChat\Providers\DeepseekChatPanelPlugin::make())
```

### 2. Roll Back Migrations (Optional)

[](#2-roll-back-migrations-optional)

```
php artisan migrate:rollback
# or roll back specific published files if needed
```

### 3. Remove Published Assets (Optional)

[](#3-remove-published-assets-optional)

```
rm -f config/deepseek-chat.php
rm -rf resources/views/vendor/deepseek-chat
```

### 4. Remove Package and Clear Caches

[](#4-remove-package-and-clear-caches)

```
composer remove filaforge/deepseek-chat
php artisan optimize:clear
```

### 5. Clean Up Environment Variables

[](#5-clean-up-environment-variables)

Remove these from your `.env` file:

```
DEEPSEEK_API_KEY=your_deepseek_api_key_here
DEEPSEEK_BASE_URL=https://api.deepseek.com
DEEPSEEK_MODEL=deepseek-chat
DEEPSEEK_MAX_TOKENS=4096
DEEPSEEK_TEMPERATURE=0.7
DEEPSEEK_STREAM=true
DEEPSEEK_TIMEOUT=60
```

Support
-------

[](#support)

- **Documentation**: [GitHub Repository](https://github.com/filaforge/deepseek-chat)
- **Issues**: [GitHub Issues](https://github.com/filaforge/deepseek-chat/issues)
- **Discussions**: [GitHub Discussions](https://github.com/filaforge/deepseek-chat/discussions)

Contributing
------------

[](#contributing)

We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.

License
-------

[](#license)

This plugin is open-sourced software licensed under the [MIT license](LICENSE).

---

**Made with ❤️ by the Filaforge Team**

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance59

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

264d ago

Major Versions

0.1.2 → v1.0.02025-08-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/e7ccd0e302c517e0c6bc2b4ef05008e5beb1621bf5a64b17b82cdceb19566389?d=identicon)[filaforge](/maintainers/filaforge)

---

Top Contributors

[![blhk0532](https://avatars.githubusercontent.com/u/221689993?v=4)](https://github.com/blhk0532 "blhk0532 (4 commits)")

---

Tags

laravelplatformfilament

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/filaforge-filament-deepseek-chat/health.svg)

```
[![Health](https://phpackages.com/badges/filaforge-filament-deepseek-chat/health.svg)](https://phpackages.com/packages/filaforge-filament-deepseek-chat)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[awcodes/filament-quick-create

Plugin for Filament Admin that adds a dropdown menu to the header to quickly create new items.

246177.6k7](/packages/awcodes-filament-quick-create)[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

206120.5k1](/packages/guava-filament-knowledge-base)[a2insights/filament-saas

Filament Saas for A2Insights

161.1k](/packages/a2insights-filament-saas)[inerba/filament-db-config

A Filament plugin for database-backed application settings and editable content, with caching and easy page generation.

329.1k](/packages/inerba-filament-db-config)[caresome/filament-neobrutalism-theme

A neobrutalism theme for FilamentPHP admin panels

303.2k](/packages/caresome-filament-neobrutalism-theme)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
