laravel-google-drive-demo
laravel-google-drive-demo copied to clipboard
listContents() not returning all contents
With the code :
$contents = collect(Storage::cloud()->listContents($dir, $recursive));
I can only return files/folders that are created from the Demo App. If I created/upload files/folders manually it wouldn't be return with the code mentioned.
Returned Value :

Contents Inside of Drive :
(anything that has a test in the name is created from the Demo App)

Try this https://github.com/masbug/flysystem-google-drive-ext, it has the same config, it is a fork