Contributing to Filament PHP with Open Source Plugins

Filament PHP is a powerful Laravel-based admin panel and form builder framework. I've had the opportunity to contribute to the ecosystem by developing and publishing three open source plugins.

AI Chat Widget

View Plugin

Integrates OpenAI functionality directly into your Filament admin panel with an intelligent chatbot widget.

Key Features:

  • OpenAI Integration - Built on openai-php/laravel
  • Automatic Appearance - Widget displays on every panel page automatically
  • Dark Theme Support - Fully compatible with dark mode
  • Customizable Configuration - Adjustable settings including AI model, chat history limits, and UI appearance
  • Knowledge Base Management - Dedicated resource for managing AI training data

Dynamic Settings

View Plugin

A centralized system for managing dynamic application settings through an enum-driven approach, providing type-safe configuration management.

Key Features:

  • Enum-Based Management - Uses enums for type-safe setting names and groups
  • Pre-Built Settings Pages - Includes ready-to-use Filament pages for general settings and homepage configuration
  • Database Storage - Persists settings with support for user-specific data tracking
  • Zero Dependencies - Built without external dependencies beyond Laravel and Filament
  • Extensibility - Designed to allow custom settings pages and enum extensions

Replaces scattered .env variables and config files with a unified, database-backed system accessible through the Filament admin panel.

Page Preview

View Plugin

A custom Filament form field component that renders a live Blade page preview directly within forms.

Key Features:

  • Live Preview Rendering - Display real-time Blade template previews in Filament forms
  • Data Binding - Pass preview data through the previewData() method
  • Customizable Views - Publish and customize the preview view, or specify a custom view using previewView()
  • Seamless Integration - Works as a standard form field component with PreviewField::make()

Perfect for scenarios requiring live page previews—such as previewing content layouts, email templates, or other Blade-rendered pages while editing form data.

Technologies

All plugins are built with:

  • PHP 8.1+
  • Laravel 10.0+
  • Filament 3.x
  • MIT License

Contributing to open source has been a rewarding experience, allowing me to give back to a framework that has significantly improved my development workflow.