Skip to content
kaythinks edited this page Apr 11, 2020 · 6 revisions

The File class only has one method.


public static function upload(array $file)

This method is for uploading files e.g File::upload($request->get('picture')).

NOTE:- The framework also has support for Cloudinary file upload, it can be accessed using this,(new CloudinaryClient())->uploadFile($request->get('picture')['tmp_name']);.

Clone this wiki locally