masbug/flysystem-google-drive-ext
Flysystem adapter for Google Drive that hides Google’s file/folder IDs by translating between virtual ID paths and human-friendly display paths. Supports Flysystem v2/v3 (Laravel 9+) with seamless path mapping for common filesystem operations.
/Xa3X9GlR6EmbnY1RLVTk5VUtOVkk) by translating them to human-readable paths (e.g., /My Nice Dir/myFile.ext), improving developer experience and reducing errors in path-based logic.Adopt When:
Look Elsewhere If:
sharedWithMe).*"This package lets us leverage Google Drive as a scalable, enterprise-grade storage backend—without the complexity of its opaque file IDs. By integrating with Flysystem, we can treat Google Drive like any other storage system (e.g., S3, local FS), reducing development time and costs. For example:
/user_123/profile.jpg instead of /Xa3X9GlR6EmbnY1RLVTk5VUtOVkk).Risk Mitigation: "The package is battle-tested (267 stars, active maintenance), and Flysystem is a mature, widely adopted standard. We’d start with a pilot (e.g., non-critical file storage) to validate performance and edge cases before full adoption."
*"This Flysystem adapter for Google Drive solves two key problems:
/Xa3X9GlR6EmbnY1RLVTk5VUtOVkk) to human-readable paths (e.g., /projects/2024-Q1/report.pdf), so our codebase doesn’t leak Drive-specific quirks.Storage facade or service layer for Google Drive as we do for S3/local FS, reducing boilerplate and improving maintainability.Why This Over a Custom Solution:
Implementation Plan:
Dependencies:
google/apiclient). No major conflicts with our stack."*How can I help you explore Laravel packages today?