Download the PHP package alkoumi/filament-n8n-chat without Composer
On this page you can find all versions of the php package alkoumi/filament-n8n-chat. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package filament-n8n-chat
Filament N8n Chat Plugin
A seamless integration of n8n chat widget into your FilamentPHP applications with full multilingual support and theme customization.
Features
- 🚀 Full compatibility with FilamentPHP v4 & v5
- 🌍 Multilingual support (Arabic, English, and more)
- 💬 Full n8n chat functionality
- 🎨 Custommizable themes with updating config colors
- 🔧 Simplified configuration
- 📱 Fully responsive design with RTL support
- 🔐 Authentication-aware display options
Requirements
- PHP 8.2+
- Laravel 11.x
- FilamentPHP 4.x
- Livewire 3.x (auto-installed with Filament)
Installation
Step 1: Install via Composer
Step 2: Publish Configuration and Translations
Step 3: Add Environment Variables or Your config.filament-n8n-chat
Add your n8n webhook URL to your .env file: or in config.filament-n8n-chat
Usage
Basic Setup
Method 2: Plugin Registration (Advanced)
Register the plugin in your Panel Provider for more control:
Configuration
Simplified Configuration with i18n Support
Advanced Usage
Conditional Display
Show chat only for specific user roles:
Dynamic Configuration
Configure based on current user:
Custom Styling
You can customize the chat widget appearance by adding custom config options.
JavaScript Events
Listen to chat events:
N8n Workflow Setup
Basic Webhook Setup
- Create a new workflow in n8n
- Use chat trigger
- Make Chat Publicly Available
- Copy Chat URL (this will be your webhook URL)
- Now you can use the plugin to integrate chat into your FilamentPHP application!
Troubleshooting
Chat Widget Not Appearing
- Check if the plugin is enabled in config
- Verify the webhook URL is set correctly
- Check browser console for JavaScript errors
Security Considerations
- Use HTTPS: Always use HTTPS for your webhook URLs
- Validate Input: Sanitize and validate all user input in your n8n workflows
- Rate Limiting: Implement rate limiting in your n8n workflows
- Authentication: Use the user metadata feature to track users
- Environment Variables: Never commit webhook URLs to version control
Support
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Credits
- Alkoumi
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-n8n-chat with dependencies
filament/filament Version ^4.0 || ^5.0
spatie/laravel-package-tools Version ^1.16