$disk = Storage::disk('gcs');
// create a file
$disk->put('avatars/1', $fileContents);
// check if a file exists
$exists = $disk->exists('file.jpg');
// get file modification date
$time = $disk->lastModified('file1.jpg');
// copy a file
$disk->copy('old/file1.jpg', 'new/file1.jpg');
// move a file
$disk->move('old/file1.jpg', 'new/file1.jpg');
// get url to file
$url = $disk->url('folder/my_file.txt');
// Set the visibility of file to public
$disk->setVisibility('folder/my_file.txt', 'public');
// See https://laravel.com/docs/5.3/filesystem for full list of available functionality
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.