Weave Code
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

nao-pon/flysystem-google-drive

Laravel Flysystem adapter for Google Drive. Store, read, list, update and delete files on Drive using Flysystem’s filesystem API, with support for service accounts or OAuth. Ideal for using Google Drive as a cloud disk in Laravel apps.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Cloud Storage Integration: Enables seamless Google Drive integration for file storage, reducing reliance on proprietary or legacy systems (e.g., S3, local storage).
  • Cost Efficiency: Leverages Google Drive’s free tier or existing subscriptions, lowering infrastructure costs for file-heavy applications (e.g., media libraries, backups).
  • User-Centric Features: Supports direct file access via Google accounts, improving user experience for apps requiring file uploads/downloads (e.g., collaboration tools, CMS platforms).
  • Hybrid Storage Strategy: Allows phased migration from on-premise storage to cloud by treating Google Drive as a drop-in replacement for other Flysystem adapters.
  • Compliance & Security: Aligns with Google’s data protection policies, useful for projects handling sensitive files (e.g., healthcare, legal).
  • Roadmap Acceleration: Avoids building a custom Google Drive adapter, freeing dev resources for core features.

When to Consider This Package

  • Avoid if:

    • Your app requires high-frequency, low-latency operations (Google Drive may introduce delays vs. dedicated object storage like S3).
    • You need advanced features like versioning, lifecycle policies, or fine-grained IAM controls (Google Drive’s API has limitations).
    • Your team lacks PHP/Laravel expertise to troubleshoot adapter-specific issues (e.g., OAuth, quota limits).
    • Cost sensitivity: Google Drive’s free tier has storage/transfer limits; paid plans may exceed budget for high-scale apps.
    • Alternatives exist: If using Google Cloud Storage (GCS), the official league/flysystem-google-cloud-storage adapter is more robust.
  • Consider if:

    • You’re building a user-facing app where Google Drive integration adds value (e.g., "Save to Google Drive" button).
    • Your use case is read-heavy (e.g., static assets, backups) with occasional writes.
    • You’re already using Laravel/Vapor and want minimal setup for cloud storage.
    • Your team is comfortable with Flysystem’s abstraction layer (e.g., switching adapters later is trivial).

How to Pitch It (Stakeholders)

For Executives: "This package lets us use Google Drive as a drop-in file storage solution for [X feature], cutting cloud costs by [Y]% while leveraging existing user accounts. It’s a low-risk way to modernize storage without overhauling our stack—think of it as ‘Google Drive for Laravel.’ No new infrastructure needed; we just plug it into our existing file-handling logic. Ideal for [use case], with minimal dev overhead."

For Engineering: *"The nao-pon/flysystem-google-drive adapter gives us a battle-tested way to integrate Google Drive into Laravel’s Flysystem ecosystem. Benefits:

  • Zero custom code: Works like other Flysystem adapters (e.g., local, s3).
  • Google Auth: Uses OAuth 2.0—no need to reinvent credential management.
  • Flexible: Supports team drives, shared folders, and user-specific storage.
  • Maintained: 366 stars, MIT license, and active community.

Tradeoff: Slower than S3 for some operations, but perfect for [specific use case]. Let’s prototype it for [feature] and compare performance against [alternative]."*

For Design/UX: *"This enables native ‘Save to Google Drive’ flows in our app, reducing friction for users who already trust Google’s ecosystem. For example:

  • Users can upload files directly from Drive to our platform.
  • Shared folders simplify collaboration (e.g., client approvals). No new UI work—just a backend toggle."*
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.
graham-campbell/flysystem
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi