PluginProvider to extend Laravel-package-tools #249
danilopolani
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I wrote the Plausible plugin for Filament I did not use the official
PluginServiceProvider
because it was not out yet but, most importantly, I needed to publish assets, config and translations too and the Spatie's Laravel Package Tools (LPT from now on) was perfect for my needs.Do you think that integrating LPT inside PluginProvider can be a nice addition? It would be another dependency used only in a plugin context but would be a great boost on plugin deveploment IMHO. It will have some "tweaks", like
hasScripts
andhasStyles
triggering automaticallyhasAssets
for example.Or maybe a separate project like
laravel-filament/plugin
that works as a bridge between Filament and Laravel Package Tools? It would provide only thePluginServiceProvider
that extends LPT.Just an idea ofc :)
Beta Was this translation helpful? Give feedback.
All reactions