Skip to content

TappNetwork/Filament-Forum

Repository files navigation

Filament Forum

A forum package for Filament apps that provides both admin and frontend resources for managing forums and forum posts.

Requirements

  • PHP 8.1+
  • Laravel 10+
  • Filament 4.0+

Installation

  1. Require the package via Composer:

    composer require tapp/filament-forum
  2. Publish the config file:

    php artisan vendor:publish --tag="filament-forum-config"
  3. Register the Plugins:

    Admin Panel (Backend)

    Add the admin plugin to your AdminPanelProvider.php:

    use Tapp\FilamentForum\Filament\ForumAdminPlugin;
    
    public function panel(Panel $panel): Panel
    {
        return $panel
            // ... other configuration
            ->plugins([
                ForumAdminPlugin::make(),
                // ... other plugins
            ]);
    }

    Frontend Panel (User-facing)

    Add the frontend plugin to your AppPanelProvider.php (or any frontend panel):

    use Tapp\FilamentForum\Filament\ForumPlugin;
    
    public function panel(Panel $panel): Panel
    {
        return $panel
            // ... other configuration
            ->plugins([
                ForumPlugin::make(),
                // ... other plugins
            ]);
    }

That's it! The plugins will auto-register with Filament and be ready to use.

Features

  • Admin Resources: Full CRUD operations for forums and forum posts
  • Frontend Resources: User-friendly interface for browsing and participating in forums

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

If you discover any security-related issues, please email [email protected].

Credits

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published