File#
File holds an uploaded file’s storage key, file in the descriptor.
The form uploads a picked file at once, and a stored file is served as
a download.
File::make('contract')->accept(['application/pdf' => 'pdf']), // pdf, png, jpeg, txt, csv by default; 10 MB
Uploading, the checks on each file, serving and cleaning up unused files are on Files and images. A duplicated record starts without the file’s key (Duplicating). It takes the common modifiers too.