Do I have to install Spatie Media Library package if I already installed the plugin?

Hi, I don't quite understand the idea of a plugin. So basically I am using the Spatie Media Library plugin for FilamentPHP. I have installed the plugin but do I have to install the Spatie Media Library package itself? The reason why I am asking cause I wanted to upload all my files in s3 in a folder lets just call it 'attachment'. The solution for that after searching the internet is to do what is called custom directory and I need to create a custompathgenerator ? I cant find the class called pathgenerator.php. I cant seem to make it work by just installing the plug in itself?
2 Replies
black ka1ser
black ka1ser2y ago
sometimes u need to follow the instructions of the plugin usually written below the installation instructions configurations etc
toeknee
toeknee2y ago
That plugin is designed to be used in forms and tables as per: You're now ready to start using the form components and table columns! https://filamentphp.com/docs/2.x/spatie-laravel-media-library-plugin/installation
Filament
Installation - Spatie Media Library Plugin - Filament
A plugin to add support for spatie/laravel-medialibrary to Filament.
Want results from more Discord servers?
Add your server