laravel / ideas

Issues board used for Laravel internals discussions.
939 stars 28 forks source link

[Proposal] Add Google Drive Filesystem #1795

Open Sealtyel opened 5 years ago

Sealtyel commented 5 years ago

I think it is a common case a company wants to integrate Google Drive as a Storage filesystem for an internal platform or something, I think one implementation could be creating an Adapter for Google Drive and just add it as another out of the box capability.

owenvoke commented 5 years ago

The filesystem adapters are built around the thephpleague/flysystem package. They don't have an official adapter (like they do for AWS), so I guess that's probably why it hasn't been implemented.

There are quite a few community-supported packages listed on the official Flysystem README, one of them is nao-pon's adapter (demo by ivanvermeyen) that appears to provide Google Drive API access, so perhaps it may be worth exploring this.