Filament plugin for Pennant (Feature Flags for plugins)
I want to add a Filament plugin that is based on Pennant but I want to connect it with WAVE Plugins. I was thinking of making 2 TAGS. TAG-1 = WAVE Plugin and TAG-2 = Filament Plugin, but they both show up in this UI inside WAVE Admin.
Any tips on how I could do this?
I want Filament Plugins and WAVE plugins to show up in this GUI inside the WAVE Admin.
https://filamentphp.com/plugins/maartenpaauw-pennant
Thanks!
Hey Matt,
Thanks for the follow-up question!
The approach here is quite similar to what I mentioned in your previous question here.
Quick Recap:
Since Wave plugins and Filament plugins use different systems, integrating them together requires keeping their setups distinct while making them accessible in the same Wave admin UI.
If you want both Wave plugins and Filament plugins (like the Pennant feature flags) to show up in the Wave admin menu, here’s what you can do:
-
Install the Filament plugin (like Pennant) using Composer as usual and configure it in
AdminPanelProvider
. -
For displaying both Wave and Filament plugins in your custom admin UI, you'll need to manually link the Filament plugin routes in the Drift Mega Menu or a custom Wave page.
-
Using tags (
TAG-1 = WAVE Plugin
andTAG-2 = Filament Plugin
) is a great idea for categorizing them, but keep in mind that Wave's plugin system won't automatically detect Filament plugins. You can manually add these tags in the menu items to differentiate between them.
So, while it’s possible to have them appear together in the Wave admin interface, they still need to be managed separately under the hood.
Let me know if you have any more questions! 😊