🗄
Media

you can use
Media::class
to build a file input like thisMedia::make('name');
this class works with splade
x-splade-file
it has some more methods for setting options
->max(int)
->multi(bool)
->type(string) // 'image', 'file'
Last modified 7mo ago