Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Flysystem Google Drive Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for Google Drive storage: This is a strong "buy" — a Flysystem v3 adapter plus a zero-config Laravel driver means the team avoids owning the Google Drive API surface (auth, folder resolution, path semantics, error mapping) while keeping the standard Laravel Storage facade contract. Integration effort is configuration, not engineering.
  • Replacing the unmaintained alternative: The headline decision this supports is a migration off a dependency with known defects. Four concrete fixes are on the table — 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.
  • Use cases this unlocks: Backup/export targets, user-uploaded media offloaded to Drive, document sync for Workspace-centric customers, and per-tenant Drive folders in multi-tenant apps — anywhere the storage backend must be swappable behind Storage::disk().
  • Architecture leverage: Because it conforms to Flysystem v3, Drive becomes one disk among many. That supports decisions like "don't couple feature code to Drive," enables per-environment disks (local in dev, Drive in prod), and keeps an exit ramp to S3/GCS cheap if Drive quotas or rate limits become a problem.
  • Roadmap input: Adopting now sets the migration as a scoped, low-risk work item rather than an open-ended rewrite — worth scheduling alongside any other storage-layer cleanup.

When to Consider This Package

Adopt when all of the following hold:

  • You are on Flysystem v3 and a supported Laravel version (verify — the release notes do not state version constraints, PHP floor, or Laravel support matrix; confirm before committing).
  • You need Google Drive as a filesystem backend behind Laravel's 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).
  • You are currently on the unmaintained alternative and want a drop-in migration path that closes the error-handling and query-escaping defects.
  • You can tolerate 1.0.0 maturity — an initial release with no public track record, and (based on the notes) no stated test suite, CI, or maintainer bus factor.

Look elsewhere or wait when:

  • You need advanced Drive semantics — shared drive support, chunked/resumable uploads for large files, fine-grained sharing/permission management, or change-notification webhooks. None are claimed in this release; confirm or plan to extend.
  • Operational risk is high: strict uptime/compliance requirements where an unproven single-release dependency is unacceptable without a fork-and-own contingency.
  • Scale or quota sensitivity: Google Drive API rate limits and per-user quota behavior are materially different from object storage. If throughput matters, benchmark before committing.
  • You need a maintained SLA or vendor support — this appears community/open-source; plan for internal ownership.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib