yaza/laravel-google-drive-storage
Laravel filesystem driver that lets you use Google Drive as a native storage disk. Configure a service account, then upload, download, list, and stream files through Laravel's Storage facade like any other disk. Supports folders, metadata, and seamless integration into existing Laravel apps.
Storage facade (a Flysystem adapter). The decision it informs is whether to spend engineering days on OAuth token refresh, chunked/resumable uploads, folder-path mapping, and MIME handling — or ship the feature and accept a third-party dependency. For a team without a storage specialist, this compresses weeks of plumbing into an afternoon.Adopt when most of these hold:
Storage facade for all file I/O.Look elsewhere when:
For executives: This is a small MIT-licensed Laravel library that lets our application store files in Google Drive using the storage interface we already use. It removes an estimated block of custom integration work from the next release and lets us ship file features without adding a new cloud storage vendor or per-gigabyte cost — many of our customers already have Google Workspace capacity we can lean on. Risk is contained: it's a thin adapter behind Laravel's standard storage abstraction, so we can switch to S3 later without rewriting product code, and we'll keep our own file records so nothing is trapped. The caveat is maturity — it's a small, single-maintainer project, so we treat it as an accelerator for lower-traffic features, not as foundational infrastructure, and we validate it in a spike before committing it to a customer-facing path.
For engineering: One dependency replaces the OAuth refresh loop, resumable upload handling, and path-to-file-ID mapping. Use it as a Laravel disk driver; keep all file metadata and paths in our own tables so the Drive file ID is an implementation detail, not a foreign key. Constrain it to non-hot-path workloads, add a contract test against a sandbox Drive account, and pin the version — we may end up vendoring the adapter if upstream stalls.
How can I help you explore Laravel packages today?