aligajani
1 month ago
274
0
Nova

How to upload directly to S3 using Nova 2.0?

Posted 1 month ago by aligajani

I am using Vapor so files >1MB dont work.

File::make('Information Memorandum File', 'information_memorandum_attachment_full_document_file')
                ->help('Please ensure file is under 20000kb')
                ->rules("file", "max:20000")
                ->disk('s3')
                ->path('tmp')
                ->deletable(false)
                ->disableDownload()
                ->onlyOnForms(),

Please sign in or create an account to participate in this conversation.