How to add Filament Plugins to show in Admin/Customer?
I want to integrate a few Filament plugins to show up in the Admin.
If you could point me in the right direction, I will do the coding part. I want to change the logic in the MegaMenu in the Pro theme "Drift".
Here is the plugin and it shows the install info. But how do I get it to display in the DRIFT left Admin menu?
Also, is it possible to get it to work as a WAVE Plugin? I am thinking of having 2 TAGS. TAG-1 = WAVE Plugin and TAG-2 = Filament Plugin
Any guidance or TIPS?
https://filamentphp.com/plugins/ysfkaya-menu-manager#installing-with-composer
Thanks!
Hey Matt,
Great question! I appreciate your enthusiasm for exploring the possibilities with Wave and Filament.
To start, it's important to clarify that the Wave plugin system and the Filament plugin system are quite different, even though they both extend your application's functionality. Let’s break down the differences:
Wave Plugin System
-
Wave plugins are stored in the
resources/plugins
directory. - They work similarly to Laravel packages but are specifically designed for the Wave framework.
- Each plugin has its own folder with a
Plugin.php
class that extends Laravel's ServiceProvider. - You can load views, routes, migrations, Livewire components, and more using the
boot
andregister
methods. -
Installation is simple: Drop the plugin folder into
resources/plugins
, then activate it through the Wave admin dashboard at/admin/plugins
. - This system is great for adding functionality specific to Wave apps while keeping your customizations modular.
Filament Plugin System
-
Filament plugins, on the other hand, are more tightly integrated into the Filament admin panel. These plugins are installed via Composer and are registered in your
Filament\AdminPanelProvider
. - Filament plugins focus on enhancing the admin interface with additional panels, resources, and tools.
- To install a Filament plugin, you typically just run
composer require
and then configure it in your admin panel provider. - Filament plugins don't use the Wave plugin folder or registration system, so they won’t appear in Wave’s
/admin/plugins
section.
Can You Use Filament Plugins as Wave Plugins?
Technically, you could integrate Filament plugins into Wave by manually configuring them, but they won't follow the same installation process as Wave plugins. So it is probably not the best approach.
It would be more straightforward to keep the two systems separate.
- Install the Filament plugin using Composer.
- Follow the plugin's specific installation instructions to set up any required configurations.
I’d recommend continuing to use Filament plugins through Composer and AdminPanelProvider
for anything related to the Filament admin interface, while using Wave’s plugin system with the Wave specific plugins.
- Bobby