jeffersongoncalves/flysystem-google-drive
A Flysystem adapter for Google Drive, letting you read, write, list, and delete files on Google Drive through Laravel's familiar Storage API. Drop it in as a disk driver to sync uploads and backups without changing your existing filesystem code.
Storage facade contract. Integration effort is configuration, not engineering.isReachable() throwing on a missing folder (availability checks that crash instead of reporting), delete() swallowing real API errors (silent data-integrity failures), stale path cache after move/rename (reads landing on wrong objects), and unescaped query injection (a security finding). The last two alone justify a roadmap slot; the injection issue is a compliance/security-tracker item, not a backlog nice-to-have.Storage::disk().Adopt when all of the following hold:
Storage API rather than a bespoke Drive integration (Docs/Sheets API work, real-time collaboration, or permission-model-heavy features are out of scope for a Flysystem adapter).Look elsewhere or wait when:
To executives: We can move our Google Drive integration off an unmaintained library that has been silently losing delete failures and carrying a query-injection flaw, onto a maintained adapter that speaks Laravel's standard storage interface. The work is a configuration-level swap, not a rewrite, and it reduces both security exposure and the risk of data-integrity bugs in production. Cost is small and bounded; the main caveat is that this is a first release, so we'd validate in staging and keep an internal fallback.
To engineering: Flysystem v3 adapter with a zero-config Laravel driver — Storage::disk('google') and go. Concretely better than the incumbent on four failure modes we care about: isReachable() no longer throws on a missing folder, delete() surfaces real API errors instead of swallowing them, the path cache is invalidated on move/rename, and query strings are properly escaped. Ask: pin the version, confirm Laravel/PHP support and test coverage, and exercise move/rename and delete-error paths in staging before rollout. Assume we own the fork if upstream stalls.
How can I help you explore Laravel packages today?