Using google drive as storage
In my project without filament I have the use of the google drive api and I send my files doing
Storage::disk('google')->put('file_name', $file_content);
Where should I change to use this co-filament solution?
If anyone has a tip or any material for a full google drive integration using existing filament resources, I'd be grateful.
4 Replies
Set
->disk('google')
on the FileUpload form component?Yes, drive google is not supported.
If u already have Google drive setup as a disk u can just use it
https://filamentphp.com/docs/2.x/forms/fields#file-upload
https://filamentphp.com/docs/2.x/tables/columns/image#managing-the-image-disk
Filament
Image column - Columns - Table Builder - Filament
The elegant TALL stack table builder for Laravel artisans.
If u wish to globally set Google drive as the default disk, u can use
->configureUsing
option https://filamentphp.com/docs/2.x/forms/fields#global-settings